diff --git a/spec/features/admin/configuration/tax_categories_spec.rb b/spec/features/admin/configuration/tax_categories_spec.rb index 916811df0c..4b9714241e 100644 --- a/spec/features/admin/configuration/tax_categories_spec.rb +++ b/spec/features/admin/configuration/tax_categories_spec.rb @@ -11,7 +11,7 @@ describe "Tax Categories" do context "admin visiting tax categories list" do it "should display the existing tax categories" do - create(:tax_category, :name => "Clothing", :description => "For Clothing") + create(:tax_category, name: "Clothing", description: "For Clothing") click_link "Tax Categories" expect(page).to have_content("Listing Tax Categories") within_row(1) do @@ -30,8 +30,8 @@ describe "Tax Categories" do it "should be able to create new tax category" do expect(page).to have_content("New Tax Category") - fill_in "tax_category_name", :with => "sports goods" - fill_in "tax_category_description", :with => "sports goods desc" + fill_in "tax_category_name", with: "sports goods" + fill_in "tax_category_description", with: "sports goods desc" click_button "Create" expect(page).to have_content("successfully created!") end @@ -47,7 +47,7 @@ describe "Tax Categories" do create(:tax_category) click_link "Tax Categories" within_row(1) { click_icon :edit } - fill_in "tax_category_description", :with => "desc 99" + fill_in "tax_category_description", with: "desc 99" click_button "Update" expect(page).to have_content("successfully updated!") expect(page).to have_content("desc 99")