Commit 4a171018 authored by Rémy Coutable's avatar Rémy Coutable

Fix flaky specs that were only passing upon retry

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 29fbbe57
......@@ -354,9 +354,9 @@ RSpec.describe ProjectsController do
false | false | true | true
false | true | true | true
true | false | false | false
true | true | false | nil
true | true | false | false
true | false | true | true
true | true | true | nil
true | true | true | true
end
with_them do
......@@ -372,6 +372,7 @@ RSpec.describe ProjectsController do
id: project,
project: { setting => param_value }
}
project.reload
expect(project[setting]).to eq(final_value)
......
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