Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
the-teacher committed Aug 1, 2013
1 parent 5126f03 commit 9d01f11
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions spec/the_role_on_devise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,21 @@

Test App for TheRole

### Prepare app
### Start App

```
bin/rake db:drop RAILS_ENV=test &&
bin/rake db:create RAILS_ENV=test &&
bin/rake db:migrate RAILS_ENV=test
```
bin/rake db:bootstrap
### Test App
rails g the_role admin
```
bundle exec rspec spec/models/ --format documentation
rake db:seed
rails s
```

### Start App
### Test App

```
bin/rake db:drop &&
bin/rake db:create &&
bin/rake db:migrate
bin/rails g the_role admin &&
bin/rake db:seed
rake db:bootstrap RAILS_ENV=test
rspec spec/models/ --format documentation
```

0 comments on commit 9d01f11

Please sign in to comment.