Fix Rubocop offense

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2017-07-05 22:12:10 +02:00
parent acb748a673
commit 49c121e31a
No known key found for this signature in database
GPG key ID: 46DF07E5CD9E96AB

View file

@ -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