Skip to content

Commit

Permalink
can use default rake command to run test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
ridiculous committed Dec 16, 2015
1 parent 0f4a433 commit e821db0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Expand Up @@ -5,5 +5,3 @@ rvm:
- 2.2.2
- 2.2.3
before_install: gem install bundler -v 1.10.5
script:
- bin/test
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -93,7 +93,6 @@ and would love to see these two consolidated at some point.
## Contributing

1. Fork it ( https://github.com/ridiculous/grape-middleware-logger/fork )
1. Run the test suite with `bin/test`
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
Expand Down
16 changes: 14 additions & 2 deletions Rakefile
@@ -1,3 +1,15 @@
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task default: :spec

RSpec::Core::RakeTask.new(:spec) do |config|
config.pattern = 'spec/lib/**/*_spec.rb'
end

RSpec::Core::RakeTask.new(:integration) do |config|
config.pattern = 'spec/integration/**/*_spec.rb'
end

RSpec::Core::RakeTask.new(:integration_rails) do |config|
config.pattern = 'spec/integration_rails/**/*_spec.rb'
end

task default: [:spec, :integration, :integration_rails]
3 changes: 0 additions & 3 deletions bin/test

This file was deleted.

0 comments on commit e821db0

Please sign in to comment.