Commit a274359e authored by http://jneen.net/'s avatar http://jneen.net/

rubocop fix: don't use single line blocks

parent 2f0a7088
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment