diff --git a/.travis.yml b/.travis.yml index 4f390cb..fdcce3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,5 +5,3 @@ before_install: rvm: - "1.9.3" - "2.2.4" -script: - - "bundle exec cucumber" diff --git a/README.md b/README.md index bf099fd..084677e 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,15 @@ Module `DreddHooks::Methods` mixes in following methods `before`, `after`, `befo Usage is very similar to [sync JS hooks API](http://dredd.readthedocs.org/en/latest/hooks/#sync-api) +## Development + +### Testing + +```bash +# Run the test suite +rake +``` + ## Contributing 1. Fork it diff --git a/Rakefile b/Rakefile index 809eb56..2b4df61 100644 --- a/Rakefile +++ b/Rakefile @@ -1,2 +1,7 @@ require "bundler/gem_tasks" +require "cucumber/rake/task" + +Cucumber::Rake::Task.new + +task default: [:cucumber]