summaryrefslogtreecommitdiff
path: root/spec/lib/mattermost/team_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/mattermost/team_spec.rb')
-rw-r--r--spec/lib/mattermost/team_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/mattermost/team_spec.rb b/spec/lib/mattermost/team_spec.rb
index 030aa5d06a8..096b7df88a4 100644
--- a/spec/lib/mattermost/team_spec.rb
+++ b/spec/lib/mattermost/team_spec.rb
@@ -54,7 +54,7 @@ describe Mattermost::Team do
headers: { 'Content-Type' => 'application/json' },
body: {
id: 'api.team.list.app_error',
- message: 'Cannot list teams.',
+ message: _('Cannot list teams.'),
detailed_error: '',
request_id: 'obc374man7bx5r3dbc1q5qhf3r',
status_code: 500
@@ -63,7 +63,7 @@ describe Mattermost::Team do
end
it 'raises an error with message' do
- expect { subject }.to raise_error(Mattermost::Error, 'Cannot list teams.')
+ expect { subject }.to raise_error(Mattermost::Error, _('Cannot list teams.'))
end
end
end