Commit 1b1e3ae4 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Update the description a bit

parent 53e64926
...@@ -525,7 +525,7 @@ describe 'Issues', feature: true do ...@@ -525,7 +525,7 @@ describe 'Issues', feature: true do
end end
describe 'new issue by email' do describe 'new issue by email' do
context 'find the modal for new issue by email', js: true do context 'click the button to show modal for new issue email', js: true do
before do before do
stub_incoming_email_setting(enabled: true, address: "p+%{key}@gl.ab") stub_incoming_email_setting(enabled: true, address: "p+%{key}@gl.ab")
...@@ -533,7 +533,7 @@ describe 'Issues', feature: true do ...@@ -533,7 +533,7 @@ describe 'Issues', feature: true do
click_button('Email a new issue') click_button('Email a new issue')
end end
it 'has a button to show the email address' do it 'shows the email in the modal' do
page.within '#issue-email-modal' do page.within '#issue-email-modal' do
email = project.new_issue_address(@user) email = project.new_issue_address(@user)
......
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