From 6bd7793c3ca4325656cadd7e66824510c8ffdd0a Mon Sep 17 00:00:00 2001 From: Larry Gilbert Date: Fri, 15 Mar 2013 20:57:30 -0700 Subject: [PATCH] Move rspec options to .rspec file; add randomization --- .rspec | 1 + Rakefile | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 .rspec diff --git a/.rspec b/.rspec new file mode 100644 index 0000000..37bd1a9 --- /dev/null +++ b/.rspec @@ -0,0 +1 @@ +--colour --format progress --order random diff --git a/Rakefile b/Rakefile index 0ae782c..f068230 100644 --- a/Rakefile +++ b/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