diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-17 15:18:40 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-17 15:18:40 +0300 |
commit | b544d8fade02ca826a55b8300e0a4c18fccbec01 (patch) | |
tree | 5506e7c28823db8265744711d8fe675ced3270af /spec/serializers/build_serializer_spec.rb | |
parent | fb20dcf8e67992cada346ff3718e078cdf5359e8 (diff) |
Review changes, used eq instead of match
Diffstat (limited to 'spec/serializers/build_serializer_spec.rb')
-rw-r--r-- | spec/serializers/build_serializer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/build_serializer_spec.rb b/spec/serializers/build_serializer_spec.rb index ebb70466a73..7f1abecfafe 100644 --- a/spec/serializers/build_serializer_spec.rb +++ b/spec/serializers/build_serializer_spec.rb @@ -38,7 +38,7 @@ describe BuildSerializer do expect(subject[:text]).to eq(status.text) expect(subject[:label]).to eq(status.label) expect(subject[:icon]).to eq(status.icon) - expect(subject[:favicon]).to match status.favicon + expect(subject[:favicon]).to eq("/assets/ci_favicons/#{status.favicon}.ico") end end end |