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:
filipefurtad0
2021-01-03 18:33:20 +00:00
committed by Matt-Yorkley
parent 8a453abd26
commit 7f658d4c46

View File

@@ -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