summaryrefslogtreecommitdiff
path: root/spec/lib/mattermost/command_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/mattermost/command_spec.rb')
-rw-r--r--spec/lib/mattermost/command_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/mattermost/command_spec.rb b/spec/lib/mattermost/command_spec.rb
index 7c194749dfb..d9e4f05b682 100644
--- a/spec/lib/mattermost/command_spec.rb
+++ b/spec/lib/mattermost/command_spec.rb
@@ -46,7 +46,7 @@ describe Mattermost::Command do
headers: { 'Content-Type' => 'application/json' },
body: {
id: 'api.command.duplicate_trigger.app_error',
- message: 'This trigger word is already in use. Please choose another word.',
+ message: _('This trigger word is already in use. Please choose another word.'),
detailed_error: '',
request_id: 'obc374man7bx5r3dbc1q5qhf3r',
status_code: 400
@@ -55,7 +55,7 @@ describe Mattermost::Command do
end
it 'raises an error with message' do
- expect { subject }.to raise_error(Mattermost::Error, 'This trigger word is already in use. Please choose another word.')
+ expect { subject }.to raise_error(Mattermost::Error, _('This trigger word is already in use. Please choose another word.'))
end
end
end