Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared_examples/features/integrations/user_activates_mattermost_slash_command_integration_shared_examples.rb')
-rw-r--r--spec/support/shared_examples/features/integrations/user_activates_mattermost_slash_command_integration_shared_examples.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/shared_examples/features/integrations/user_activates_mattermost_slash_command_integration_shared_examples.rb b/spec/support/shared_examples/features/integrations/user_activates_mattermost_slash_command_integration_shared_examples.rb
index 148ff2cfb54..5fdd91ebd2d 100644
--- a/spec/support/shared_examples/features/integrations/user_activates_mattermost_slash_command_integration_shared_examples.rb
+++ b/spec/support/shared_examples/features/integrations/user_activates_mattermost_slash_command_integration_shared_examples.rb
@@ -6,7 +6,7 @@ RSpec.shared_examples 'user activates the Mattermost Slash Command integration'
end
it 'shows a token placeholder' do
- token_placeholder = find_field('service_token')['placeholder']
+ token_placeholder = find_field('service-token')['placeholder']
expect(token_placeholder).to eq('')
end
@@ -14,7 +14,7 @@ RSpec.shared_examples 'user activates the Mattermost Slash Command integration'
it 'redirects to the integrations page after saving but not activating' do
token = ('a'..'z').to_a.join
- fill_in 'service_token', with: token
+ fill_in 'service-token', with: token
click_active_checkbox
click_save_integration
@@ -25,7 +25,7 @@ RSpec.shared_examples 'user activates the Mattermost Slash Command integration'
it 'redirects to the integrations page after activating' do
token = ('a'..'z').to_a.join
- fill_in 'service_token', with: token
+ fill_in 'service-token', with: token
click_save_integration
expect(page).to have_current_path(edit_path, ignore_query: true)