diaspora_federation/lib/tasks/tests.rake
Benjamin Neff 7fe7a5da97
Don't generate file fixtures anymore
When we want to test without rails, we can't use the controllers to
generate them.

Also fixes the problem where there is still an old file fixture that
doesn't match the users in the database.
2017-04-04 22:14:13 +02:00

8 lines
180 B
Ruby

if defined?(RSpec)
namespace :spec do
task prepare_db: %w(db:create db:test:load)
desc "Prepare for rspec"
task prepare: %w(db:environment:set prepare_db)
end
end