From af25689658757f631c254d5b0b5fea3c149e0125 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 (cherry picked from commit 6bd7793c3ca4325656cadd7e66824510c8ffdd0a) Conflicts: Rakefile --- .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 1a390a4..8c9c279 100644 --- a/Rakefile +++ b/Rakefile @@ -11,13 +11,11 @@ task :spec => ["spec:unit", "spec:integration"] desc "Run unit specs" Spec::Rake::SpecTask.new('spec:unit') do |t| - t.spec_opts = ['--colour --format progress --loadby mtime --reverse'] t.spec_files = FileList['spec/*_spec.rb'] end desc "Run integration specs" Spec::Rake::SpecTask.new('spec:integration') do |t| - t.spec_opts = ['--colour --format progress --loadby mtime --reverse'] t.spec_files = FileList['spec/integration/*_spec.rb'] end