Commit 6cd74c89 authored by gwendal's avatar gwendal
Browse files

fix factory and test

parent aeca0f34
......@@ -245,7 +245,7 @@ module ServicesControllerSpec
active: true,
ended: true,
},
expected: [1, 3],
expected: [3, 1],
}
].each_with_index do |test, index|
it "##{index+1} should work with params #{test[:params]}" do
......
......@@ -11,6 +11,8 @@ FactoryBot.define do
expired_at do
if expired
Date.new(2013, 1, 15)
else
nil
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment