Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bddd1961
Commit
bddd1961
authored
Oct 02, 2018
by
Winnie Hellmann
Committed by
Kamil Trzciński
Oct 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove remaining TODOs from feature tests
parent
4643d944
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
ee/spec/features/projects/feature_flags_spec.rb
ee/spec/features/projects/feature_flags_spec.rb
+2
-4
No files found.
ee/spec/features/projects/feature_flags_spec.rb
View file @
bddd1961
...
...
@@ -47,8 +47,7 @@ describe 'Feature Flags', :js do
it
'displays an error message'
do
add_feature_flag
(
name
,
description
,
false
)
# TODO: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7433#note_104442383
# expect(current_path).to eq new_project_feature_flag_path(project)
expect
(
current_path
).
to
eq
project_feature_flags_path
(
project
)
expect
(
page
).
to
have_selector
'.alert-danger'
,
text:
error_message
end
end
...
...
@@ -79,8 +78,7 @@ describe 'Feature Flags', :js do
it
'displays an error message'
do
edit_feature_flag
(
'feature-flag-to-edit'
,
name
,
description
,
false
)
# TODO: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7433#note_104442383
# expect(current_path).to eq new_project_feature_flag_path(project)
expect
(
current_path
).
to
eq
project_feature_flags_path
(
project
)
expect
(
page
).
to
have_selector
'.alert-danger'
,
text:
error_message
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment