mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Move rspec options to .rspec file; add randomization
This commit is contained in:
parent
dfd0f26e67
commit
6bd7793c3c
2 changed files with 1 additions and 2 deletions
1
.rspec
Normal file
1
.rspec
Normal file
|
@ -0,0 +1 @@
|
|||
--colour --format progress --order random
|
2
Rakefile
2
Rakefile
|
@ -11,13 +11,11 @@ task :spec => ["spec:unit", "spec:integration"]
|
|||
|
||||
desc "Run unit specs"
|
||||
RSpec::Core::RakeTask.new('spec:unit') do |t|
|
||||
t.rspec_opts = ['--colour --format progress']
|
||||
t.pattern = 'spec/*_spec.rb'
|
||||
end
|
||||
|
||||
desc "Run integration specs"
|
||||
RSpec::Core::RakeTask.new('spec:integration') do |t|
|
||||
t.rspec_opts = ['--colour --format progress']
|
||||
t.pattern = 'spec/integration/*_spec.rb'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue