run both tests
This commit is contained in:
parent
e77be8210f
commit
3b490b58cb
|
@ -59,7 +59,7 @@ $ popd
|
|||
|
||||
### Run tests
|
||||
```sh-session
|
||||
$ bundle exec rspec
|
||||
$ bundle exec rake
|
||||
```
|
||||
### Run the server
|
||||
```sh-session
|
||||
|
|
15
Rakefile
15
Rakefile
|
@ -9,6 +9,21 @@ namespace :db do
|
|||
end
|
||||
end
|
||||
|
||||
begin
|
||||
require 'rspec/core/rake_task'
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
task :core_specs do
|
||||
RSpec::Core::RakeTask.new(:core_spec) do |t|
|
||||
t.pattern = 'core_specs/**{,/*/**}/*_spec.rb'
|
||||
end
|
||||
Rake::Task["core_spec"].execute
|
||||
end
|
||||
|
||||
task :default => [:spec, :core_specs]
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
desc "generate gemspec"
|
||||
task 'travis-api.gemspec' do
|
||||
content = File.read 'travis-api.gemspec'
|
||||
|
|
Loading…
Reference in New Issue
Block a user