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
a274359e
Commit
a274359e
authored
Jun 26, 2017
by
http://jneen.net/
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rubocop fix: don't use single line blocks
parent
2f0a7088
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
spec/features/projects/services/jira_service_spec.rb
spec/features/projects/services/jira_service_spec.rb
+6
-2
No files found.
spec/features/projects/services/jira_service_spec.rb
View file @
a274359e
...
@@ -31,7 +31,9 @@ feature 'Setup Jira service', :feature, :js do
...
@@ -31,7 +31,9 @@ feature 'Setup Jira service', :feature, :js do
describe
'user sets and activates Jira Service'
do
describe
'user sets and activates Jira Service'
do
context
'when Jira connection test succeeds'
do
context
'when Jira connection test succeeds'
do
before
{
stub_project_url
}
before
do
stub_project_url
end
it
'activates the JIRA service'
do
it
'activates the JIRA service'
do
click_link
(
'JIRA'
)
click_link
(
'JIRA'
)
...
@@ -45,7 +47,9 @@ feature 'Setup Jira service', :feature, :js do
...
@@ -45,7 +47,9 @@ feature 'Setup Jira service', :feature, :js do
end
end
context
'when Jira connection test fails'
do
context
'when Jira connection test fails'
do
before
{
stub_project_url
.
to_return
(
status:
401
)
}
before
do
stub_project_url
.
to_return
(
status:
401
)
end
it
'shows errors when some required fields are not filled in'
do
it
'shows errors when some required fields are not filled in'
do
click_link
(
'JIRA'
)
click_link
(
'JIRA'
)
...
...
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