Make tests:generate_fixtures rake task depend on spec:prepare

This commit is contained in:
Jonne Haß 2014-12-18 19:09:29 +01:00
parent 3000d86d57
commit 8c09dc1916

View file

@ -14,7 +14,7 @@ end
if defined?(RSpec)
namespace :tests do
desc "Run all specs that generate fixtures for rspec or jasmine"
RSpec::Core::RakeTask.new(:generate_fixtures) do |t|
RSpec::Core::RakeTask.new(:generate_fixtures => 'spec:prepare') do |t|
t.rspec_opts = ['--tag fixture']
end
end