can use default rake command to run test suite
This commit is contained in:
parent
0f4a433738
commit
e821db0400
|
@ -5,5 +5,3 @@ rvm:
|
|||
- 2.2.2
|
||||
- 2.2.3
|
||||
before_install: gem install bundler -v 1.10.5
|
||||
script:
|
||||
- bin/test
|
||||
|
|
|
@ -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`)
|
||||
|
|
16
Rakefile
16
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]
|
||||
|
|
Loading…
Reference in New Issue