Sha256: c0c5b9cc7fbc5bc0dcc2df383425beabc7aff1526452f8ffd61ec1fbfd0e1119
Contents?: true
Size: 506 Bytes
Versions: 3
Compression:
Stored size: 506 Bytes
Contents
require 'spec_helper' describe "Tax Rates", type: :feature, js: true do stub_authorization! let!(:tax_rate) { create(:tax_rate, calculator: stub_model(Spree::Calculator)) } # Regression test for #1422 it "can create a new tax rate" do visit spree.admin_path click_link "Configuration" click_link "Tax Rates" click_link "New Tax Rate" fill_in "Rate", with: "0.05" click_button "Create" expect(page).to have_content("Tax Rate has been successfully created!") end end
Version data entries
3 entries across 3 versions & 1 rubygems