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
"#{stage.name}: #{detailed_status.label}"
end
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'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment