summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-07-05 22:24:54 +0000
committerRobert Speicher <robert@gitlab.com>2017-07-05 22:24:54 +0000
commit6c15905c3bd11209858eac8870ffa9211f08f157 (patch)
tree56595e919be38ac1f455f4b877b34a2b11cb34b8
parente0ed10f8140c7cd16fc00ac5b2de0ae9702d7b14 (diff)
parent49c121e31aef127c5f04a0c197899a4cb15fa39c (diff)
downloadgitlab-ce-6c15905c3bd11209858eac8870ffa9211f08f157.tar.gz
Merge branch 'fix-static-analysis' into 'master'
Fix Rubocop offense See merge request !12665
-rw-r--r--spec/lib/gitlab/gitaly_client/ref_spec.rb4
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