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
d0cd4ae9
Commit
d0cd4ae9
authored
Sep 06, 2017
by
Felipe Artur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove wrong spec
parent
a0a27215
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
25 deletions
+18
-25
spec/ee/spec/views/layouts/nav/_new_group_sidebar.html.haml_spec.rb
...ec/views/layouts/nav/_new_group_sidebar.html.haml_spec.rb
+0
-25
spec/ee/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb
...e/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb
+18
-0
No files found.
spec/ee/spec/views/layouts/nav/_new_group_sidebar.html.haml_spec.rb
deleted
100644 → 0
View file @
a0a27215
require
'spec_helper'
describe
'layouts/nav/_new_group_sidebar'
do
before
do
assign
(
:group
,
create
(
:group
))
end
describe
'group issue boards link'
do
it
'is not visible when there is no valid license'
do
stub_licensed_features
(
group_issue_boards:
false
)
render
expect
(
rendered
).
not_to
have_text
'Boards'
end
it
'is not visible when there is no valid license'
do
stub_licensed_features
(
group_issue_boards:
true
)
render
expect
(
rendered
).
to
have_text
'Boards'
end
end
end
spec/ee/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb
View file @
d0cd4ae9
...
...
@@ -41,5 +41,23 @@ describe 'layouts/nav/sidebar/_group' do
expect
(
rendered
).
to
have_text
'Contribution Analytics'
end
describe
'group issue boards link'
do
it
'is not visible when there is no valid license'
do
stub_licensed_features
(
group_issue_boards:
false
)
render
expect
(
rendered
).
not_to
have_text
'Boards'
end
it
'is visible when there is valid license'
do
stub_licensed_features
(
group_issue_boards:
true
)
render
expect
(
rendered
).
to
have_text
'Boards'
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