Move rspec options to .rspec file; add randomization

This commit is contained in:
Larry Gilbert 2013-03-15 20:57:30 -07:00
parent dfd0f26e67
commit 6bd7793c3c
2 changed files with 1 additions and 2 deletions

1
.rspec Normal file
View File

@ -0,0 +1 @@
--colour --format progress --order random

View File

@ -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