diff options
author | Ash McKenzie <ash@the-rebellion.net> | 2018-07-20 11:34:01 +1000 |
---|---|---|
committer | Ash McKenzie <ash@the-rebellion.net> | 2018-07-20 22:28:58 +1000 |
commit | c92bfcefece5eea1fa30f75f7e99212c09b5792e (patch) | |
tree | 09b5c83caadd778e4173257469ade986665ce12e /spec/gitlab_keys_spec.rb | |
parent | 41396a775e13734eeb67df715744a16b622ed7b7 (diff) | |
download | gitlab-shell-c92bfcefece5eea1fa30f75f7e99212c09b5792e.tar.gz |
Rspec upgrade and deprecation fixesash.mckenzie/minor-tidy-up
Diffstat (limited to 'spec/gitlab_keys_spec.rb')
-rw-r--r-- | spec/gitlab_keys_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/gitlab_keys_spec.rb b/spec/gitlab_keys_spec.rb index c4e617c..d6583b8 100644 --- a/spec/gitlab_keys_spec.rb +++ b/spec/gitlab_keys_spec.rb @@ -62,7 +62,7 @@ describe GitlabKeys do end it "should return true" do - gitlab_keys.send(:add_key).should be_true + gitlab_keys.send(:add_key).should be_truthy end end end @@ -133,7 +133,7 @@ describe GitlabKeys do end it "should return true" do - gitlab_keys.send(:batch_add_keys).should be_true + gitlab_keys.send(:batch_add_keys).should be_truthy end end end @@ -174,7 +174,7 @@ describe GitlabKeys do end it "should return true" do - gitlab_keys.send(:rm_key).should be_true + gitlab_keys.send(:rm_key).should be_truthy end end @@ -201,7 +201,7 @@ describe GitlabKeys do it "should return true" do gitlab_keys.stub(:open) - gitlab_keys.send(:clear).should be_true + gitlab_keys.send(:clear).should be_truthy end end |