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
52ec57dd
Commit
52ec57dd
authored
Aug 03, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying with context
parent
65d1b801
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
25 deletions
+29
-25
spec/features/promotion_spec.rb
spec/features/promotion_spec.rb
+29
-25
No files found.
spec/features/promotion_spec.rb
View file @
52ec57dd
...
@@ -19,6 +19,7 @@ describe 'Promotions', js: true do
...
@@ -19,6 +19,7 @@ describe 'Promotions', js: true do
end
end
describe
'for project features in general on premise'
do
describe
'for project features in general on premise'
do
context
'no license installed'
do
before
do
before
do
allow
(
License
).
to
receive
(
:current
).
and_return
(
nil
)
allow
(
License
).
to
receive
(
:current
).
and_return
(
nil
)
...
@@ -36,8 +37,10 @@ describe 'Promotions', js: true do
...
@@ -36,8 +37,10 @@ describe 'Promotions', js: true do
expect
(
find
(
'#promote_service_desk'
)).
to
have_content
'Start GitLab Enterprise Edition trial'
expect
(
find
(
'#promote_service_desk'
)).
to
have_content
'Start GitLab Enterprise Edition trial'
end
end
end
end
end
describe
'for project features in general for .com'
,
js:
true
do
describe
'for project features in general for .com'
,
js:
true
do
context
'for .com'
do
before
do
before
do
allow
(
Gitlab
).
to
receive
(
:com?
).
and_return
(
true
)
allow
(
Gitlab
).
to
receive
(
:com?
).
and_return
(
true
)
end
end
...
@@ -56,6 +59,7 @@ describe 'Promotions', js: true do
...
@@ -56,6 +59,7 @@ describe 'Promotions', js: true do
expect
(
find
(
'#promote_service_desk'
)).
to
have_content
'Upgrade your plan'
expect
(
find
(
'#promote_service_desk'
)).
to
have_content
'Upgrade your plan'
end
end
end
end
end
describe
'for service desk'
,
js:
true
do
describe
'for service desk'
,
js:
true
do
before
do
before
do
...
...
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