BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
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
describe
'user sets and activates Jira Service'
do
context
'when Jira connection test succeeds'
do
before
{
stub_project_url
}
before
do
stub_project_url
end
it
'activates the JIRA service'
do
click_link
(
'JIRA'
)
...
...
@@ -45,7 +47,9 @@ feature 'Setup Jira service', :feature, :js do
end
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
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