Commit 589fd93d authored by Grzegorz Bizon's avatar Grzegorz Bizon 🔴

Fix Rubocop offenses in serializer entities

parent 8e603b62
Pipeline #5556067 failed with stages
in 102 minutes and 12 seconds
......@@ -7,7 +7,8 @@ class StageEntity < Grape::Entity
"#{}: #{detailed_status.label}"
expose :detailed_status, as: :status,
expose :detailed_status,
as: :status,
with: StatusEntity
expose :path do |stage|
......@@ -15,7 +15,7 @@ describe RequestAwareEntity do
it 'fetches request from options' do
expect(subject).to receive(:options)
.and_return({request: 'some value'})
.and_return({ request: 'some value' })
expect(subject.request).to eq 'some value'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment