Make tests:generate_fixtures rake task depend on spec:prepare
This commit is contained in:
parent
3000d86d57
commit
8c09dc1916
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue