diaspora_federation/lib/tasks/rails4.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

6 lines
129 B
Ruby

if defined?(RSpec)
namespace :rails4 do
RSpec::Core::RakeTask.new(:spec)
task test: %w(spec:prepare_db spec)
end
end