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 ...@@ -354,9 +354,9 @@ RSpec.describe ProjectsController do
false | false | true | true false | false | true | true
false | true | true | true false | true | true | true
true | false | false | false true | false | false | false
true | true | false | nil true | true | false | false
true | false | true | true true | false | true | true
true | true | true | nil true | true | true | true
end end
with_them do with_them do
...@@ -372,6 +372,7 @@ RSpec.describe ProjectsController do ...@@ -372,6 +372,7 @@ RSpec.describe ProjectsController do
id: project, id: project,
project: { setting => param_value } project: { setting => param_value }
} }
project.reload project.reload
expect(project[setting]).to eq(final_value) 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