diff options
author | Marcel Amirault <ravlen@gmail.com> | 2018-09-17 12:17:33 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-09-17 12:17:33 +0300 |
commit | 6876c7afa8ccb5e21f2792362bec7567b5c3734d (patch) | |
tree | 00e3c3d155a54a2665ee571e5eba0e1b0cd8a80d /spec/lib | |
parent | cdc4cd09e74bebf52250581dcbd99cfd8848aaeb (diff) |
Fix grammar (setup to set-up) in code comments, spec, views, etc.
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/mattermost/session_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/mattermost/session_spec.rb b/spec/lib/mattermost/session_spec.rb index b7687d48c68..f18f97a9c6a 100644 --- a/spec/lib/mattermost/session_spec.rb +++ b/spec/lib/mattermost/session_spec.rb @@ -82,7 +82,7 @@ describe Mattermost::Session, type: :request do .to_return(headers: { Authorization: 'token thisworksnow' }, status: 200) end - it 'can setup a session' do + it 'can set up a session' do subject.with_session do |session| end @@ -106,7 +106,7 @@ describe Mattermost::Session, type: :request do expect_to_obtain_exclusive_lease(lease_key, 'uuid') expect_to_cancel_exclusive_lease(lease_key, 'uuid') - # Cannot setup a session, but we should still cancel the lease + # Cannot set up a session, but we should still cancel the lease expect { subject.with_session }.to raise_error(Mattermost::NoSessionError) end |