mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
Style recently merged code
We enabled more Rubocop checks and code that was merged around the same time, didn't comply with the new checks.
This commit is contained in:
@@ -10,7 +10,7 @@ Spree::Admin::SearchController.class_eval do
|
||||
:ship_address_lastname_start => params[:q],
|
||||
:bill_address_firstname_start => params[:q],
|
||||
:bill_address_lastname_start => params[:q]
|
||||
}).result.limit(10)
|
||||
}).result.limit(10)
|
||||
end
|
||||
|
||||
render json: @users, each_serializer: Api::Admin::UserSerializer
|
||||
|
||||
@@ -107,7 +107,7 @@ feature "Using embedded shopfront functionality", js: true do
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
|
||||
def login_with_modal
|
||||
expect(page).to have_selector 'div.login-modal', visible: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user