diff options
Diffstat (limited to 'spec/features/projects/services/user_activates_atlassian_bamboo_ci_spec.rb')
-rw-r--r-- | spec/features/projects/services/user_activates_atlassian_bamboo_ci_spec.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/features/projects/services/user_activates_atlassian_bamboo_ci_spec.rb b/spec/features/projects/services/user_activates_atlassian_bamboo_ci_spec.rb index a9d91454670..91db375be3a 100644 --- a/spec/features/projects/services/user_activates_atlassian_bamboo_ci_spec.rb +++ b/spec/features/projects/services/user_activates_atlassian_bamboo_ci_spec.rb @@ -10,19 +10,20 @@ RSpec.describe 'User activates Atlassian Bamboo CI' do end it 'activates service', :js do - visit_project_integration('Atlassian Bamboo CI') - fill_in('Bamboo url', with: 'http://bamboo.example.com') + visit_project_integration('Atlassian Bamboo') + fill_in('Bamboo URL', with: 'http://bamboo.example.com') fill_in('Build key', with: 'KEY') fill_in('Username', with: 'user') fill_in('Password', with: 'verySecret') click_test_then_save_integration(expect_test_to_fail: false) - expect(page).to have_content('Atlassian Bamboo CI settings saved and active.') + expect(page).to have_content('Atlassian Bamboo settings saved and active.') # Password field should not be filled in. - click_link('Atlassian Bamboo CI') + click_link('Atlassian Bamboo') - expect(find_field('Enter new Password').value).to be_blank + expect(find_field('Enter new password').value).to be_blank + expect(page).to have_content('Leave blank to use your current password') end end |