Remove default rake task's dependency on spec:fixtures for now, to see if that stops travis from running all the specs twice

This commit is contained in:
Sarah Mei 2011-12-04 17:46:26 -08:00
parent e0a74b7806
commit 085471fb55
2 changed files with 3 additions and 5 deletions

View file

@ -7,7 +7,7 @@ namespace :ci do
system("export DISPLAY=:99.0 && bundle exec rake cucumber")
raise "Cucumber failed!" unless $?.exitstatus == 0
else
["rake spec", "rake jasmine:ci"].each do |cmd|
["rake spec:fixtures", "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

View file

@ -12,10 +12,8 @@ begin
task :stats => "spec:statsetup"
desc "Run all specs in spec directory (excluding those tagged performance)"
RSpec::Core::RakeTask.new(:spec => :'spec:fixtures') do |t|
t.rspec_opts = ['--tag ~fixture --tag ~performance']
end
desc "Run all specs in spec directory"
RSpec::Core::RakeTask.new(:spec => spec_prereq)
desc "Run all specs that generate fixtures for rspec or jasmine"
RSpec::Core::RakeTask.new(:'spec:fixtures' => spec_prereq) do |t|