diff options
-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 |