mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Removed the "_id" ending from objects
Renamed objects ":zone_id" and ":tax_category_id" into ":zone" and ":tax_category," as these are full objects and not just ids.
This commit is contained in:
committed by
Matt-Yorkley
parent
8a453abd26
commit
7f658d4c46
@@ -6,8 +6,8 @@ describe "Tax Rates" do
|
||||
|
||||
let!(:calculator) { create(:calculator_per_item, calculable: create(:order)) }
|
||||
let!(:tax_rate) { create(:tax_rate, name: "IVA", calculator: calculator) }
|
||||
let!(:zone_id) { create(:zone, name: "Ilhas") }
|
||||
let!(:tax_category_id) { create(:tax_category, name: "Full") }
|
||||
let!(:zone) { create(:zone, name: "Ilhas") }
|
||||
let!(:tax_category) { create(:tax_category, name: "Full") }
|
||||
|
||||
before do
|
||||
login_as_admin_and_visit spree.edit_admin_general_settings_path
|
||||
|
||||
Reference in New Issue
Block a user