Skip to content

Commit

Permalink
Update README.md to add gem testing
Browse files Browse the repository at this point in the history
  • Loading branch information
simukappu committed Aug 26, 2016
1 parent b50e696 commit b2d37f0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,33 @@ In this example `activity_notification` will confirm the `user` who `admin` belo

## Testing

### Testing your application

Under construction


### Testing gem alone

#### Testing with RSpec
Pull git repository and execute RSpec.
```console
$ git pull https://github.com/simukappu/activity_notification.git
$ cd activity_notification
$ bundle install —path vendor/bundle
$ bundle exec rspec
```

#### Dummy Rails application
Test module includes dummy Rails application. You can run the dummy application as common Rails application.
```console
$ cd spec/rails_app
$ bin/rake db:migrate
$ bin/rake db:seed
$ bin/rails server
```
Then, you can access http://localhost:3000 for the dummy application.


## Documentation

Under construction
Expand Down

0 comments on commit b2d37f0

Please sign in to comment.