diff options
author | Robert Speicher <robert@gitlab.com> | 2017-07-05 22:24:54 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2017-07-05 22:24:54 +0000 |
commit | 6c15905c3bd11209858eac8870ffa9211f08f157 (patch) | |
tree | 56595e919be38ac1f455f4b877b34a2b11cb34b8 /spec | |
parent | e0ed10f8140c7cd16fc00ac5b2de0ae9702d7b14 (diff) | |
parent | 49c121e31aef127c5f04a0c197899a4cb15fa39c (diff) | |
download | gitlab-ce-6c15905c3bd11209858eac8870ffa9211f08f157.tar.gz |
Merge branch 'fix-static-analysis' into 'master'
Fix Rubocop offense
See merge request !12665
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 |