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
8822e5a0
Commit
8822e5a0
authored
Jul 27, 2020
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove feature flags
parent
dfe0f8bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
26 deletions
+2
-26
spec/features/issues/user_views_issues_spec.rb
spec/features/issues/user_views_issues_spec.rb
+2
-26
No files found.
spec/features/issues/user_views_issues_spec.rb
View file @
8822e5a0
...
@@ -10,10 +10,6 @@ RSpec.describe "User views issues" do
...
@@ -10,10 +10,6 @@ RSpec.describe "User views issues" do
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
before
do
stub_feature_flags
(
vue_issuables_list:
false
)
end
shared_examples
"opens issue from list"
do
shared_examples
"opens issue from list"
do
it
"opens issue"
do
it
"opens issue"
do
click_link
(
issue
.
title
)
click_link
(
issue
.
title
)
...
@@ -112,7 +108,7 @@ RSpec.describe "User views issues" do
...
@@ -112,7 +108,7 @@ RSpec.describe "User views issues" do
end
end
end
end
context
"when signed in as developer"
do
context
"when signed in as developer"
,
:js
do
before
do
before
do
project
.
add_developer
(
user
)
project
.
add_developer
(
user
)
sign_in
(
user
)
sign_in
(
user
)
...
@@ -122,27 +118,7 @@ RSpec.describe "User views issues" do
...
@@ -122,27 +118,7 @@ RSpec.describe "User views issues" do
include_examples
"internal project"
include_examples
"internal project"
end
end
context
"when not signed in"
do
context
"when not signed in"
,
:js
do
include_examples
"public project"
include_examples
"public project"
end
end
context
'when vue_issuables_list feature is enabled'
,
:js
do
before
do
stub_feature_flags
(
vue_issuables_list:
true
)
end
context
'when signed in'
do
before
do
project
.
add_developer
(
user
)
sign_in
(
user
)
end
include_examples
"public project"
include_examples
"internal project"
end
context
'when not signed in'
do
include_examples
"public project"
end
end
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