Commit 993b410d authored by Sarah Mei's avatar Sarah Mei

Fix default rake task so it runs the fixture-generation specs first explicitly.

parent 4db288bc
--format Fuubar
--tag ~performance
......@@ -7,8 +7,8 @@ namespace :ci do
system("export DISPLAY=:99.0 && bundle exec rake cucumber")
raise "Cucumber failed!" unless $?.exitstatus == 0
["rspec spec", "rake jasmine:ci"].each do |cmd|
puts "Starting to run #{cmd}..."
["rake spec", "rake jasmine:ci"].each do |cmd|
puts "Running #{cmd}..."
system("export DISPLAY=:99.0 && bundle exec #{cmd}")
raise "#{cmd} failed!" unless $?.exitstatus == 0
......@@ -12,8 +12,15 @@ begin
task :stats => "spec:statsetup"
desc "Run all specs in spec directory (excluding plugin specs)" => spec_prereq)
desc "Run all specs in spec directory (excluding those tagged performance)" => :'spec:fixtures') do |t|
t.rspec_opts = ['--tag ~fixture ~performance']
desc "Run all specs that generate fixtures for rspec or jasmine"'spec:fixtures' => spec_prereq) do |t|
t.rspec_opts = ['--tag fixture']
desc "Run the specs with rcov" => spec_prereq) do |t|
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment