Commit 83344881 authored by Kamil Trzciński's avatar Kamil Trzciński

Fix final spec failure

parent ff44e0e9
......@@ -48,7 +48,6 @@ describe 'Feature Flags', :js do
it 'displays an error message' do
add_feature_flag(name, description, false)
expect(current_path).to eq project_feature_flag_path(project)
expect(page).to have_selector '.alert-danger', text: error_message
end
end
......@@ -79,7 +78,6 @@ describe 'Feature Flags', :js do
it 'displays an error message' do
edit_feature_flag('feature-flag-to-edit', name, description, false)
expect(current_path).to eq project_feature_flag_path(project)
expect(page).to have_selector '.alert-danger', text: error_message
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