mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Style Layout/LineLength
This commit is contained in:
@@ -161,7 +161,6 @@ Layout/LineLength:
|
||||
- 'spec/controllers/user_confirmations_controller_spec.rb'
|
||||
- 'spec/factories/stock_location_factory.rb'
|
||||
- 'spec/features/consumer/multilingual_spec.rb'
|
||||
- 'spec/features/consumer/shops_spec.rb'
|
||||
- 'spec/helpers/enterprises_helper_spec.rb'
|
||||
- 'spec/helpers/injection_helper_spec.rb'
|
||||
- 'spec/helpers/order_cycles_helper_spec.rb'
|
||||
|
||||
@@ -147,8 +147,12 @@ describe 'Shops', js: true do
|
||||
|
||||
describe "property badges" do
|
||||
let!(:order_cycle) {
|
||||
create(:simple_order_cycle, distributors: [distributor],
|
||||
coordinator: create(:distributor_enterprise), variants: [product.variants.first])
|
||||
create(
|
||||
:simple_order_cycle,
|
||||
distributors: [distributor],
|
||||
coordinator: create(:distributor_enterprise),
|
||||
variants: [product.variants.first]
|
||||
)
|
||||
}
|
||||
let(:product) { create(:simple_product, supplier: producer) }
|
||||
|
||||
@@ -176,8 +180,12 @@ describe 'Shops', js: true do
|
||||
let!(:product) { create(:simple_product, supplier: producer, taxons: [taxon]) }
|
||||
let!(:taxon) { create(:taxon, name: 'Fruit') }
|
||||
let!(:order_cycle) {
|
||||
create(:simple_order_cycle, distributors: [distributor],
|
||||
coordinator: create(:distributor_enterprise), variants: [product.variants.first])
|
||||
create(
|
||||
:simple_order_cycle,
|
||||
distributors: [distributor],
|
||||
coordinator: create(:distributor_enterprise),
|
||||
variants: [product.variants.first]
|
||||
)
|
||||
}
|
||||
|
||||
it "shows hub producer modals" do
|
||||
|
||||
Reference in New Issue
Block a user