diff options
author | Rémy Coutable <remy@rymai.me> | 2017-07-05 22:12:10 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-07-05 22:12:10 +0200 |
commit | 49c121e31aef127c5f04a0c197899a4cb15fa39c (patch) | |
tree | 99b64641f5b63eb99de0d0f7c0dd37a55ee389cf /spec | |
parent | acb748a6732345b98c14dd1eb95ce3959abda754 (diff) | |
download | gitlab-ce-49c121e31aef127c5f04a0c197899a4cb15fa39c.tar.gz |
Fix Rubocop offensefix-static-analysis
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/gitaly_client/ref_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/gitaly_client/ref_spec.rb b/spec/lib/gitlab/gitaly_client/ref_spec.rb index df22fcad902..7c090460764 100644 --- a/spec/lib/gitlab/gitaly_client/ref_spec.rb +++ b/spec/lib/gitlab/gitaly_client/ref_spec.rb @@ -77,7 +77,7 @@ describe Gitlab::GitalyClient::Ref do let(:client) { described_class.new(repository) } subject { client.find_ref_name(SeedRepo::Commit::ID, 'refs/heads/master') } - it { should be_utf8 } - it { should eq('refs/heads/master') } + it { is_expected.to be_utf8 } + it { is_expected.to eq('refs/heads/master') } end end |