Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.

Commit a85247f

Browse files
author
David A. Cuadrado
committed
Add a note explaining how to run the tests.
1 parent 21419b1 commit a85247f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,21 @@ The install generator also copy a `Devise Authy` i18n file which you can find at
118118

119119
config/locales/devise.authy.en.yml
120120

121+
122+
## Running Tests
123+
124+
To prepare the tests run the following commands:
125+
```bash
126+
$ cd spec/rails-app
127+
$ bundle install
128+
$ RAILS_ENV=test bundle exec rake db:migrate
129+
```
130+
131+
Now on the project root run the following commands:
132+
```bash
133+
$ bundle exec rspec spec/
134+
```
135+
121136
## Copyright
122137

123138
Copyright (c) 2014 Authy Inc. See LICENSE.txt for

0 commit comments

Comments
 (0)