Sha256: 04716239743a81c8a28b845570b3b764c21effeedce0c16bbd9b5cee629d20c1

Contents?: true

Size: 496 Bytes

Versions: 19

Compression:

Stored size: 496 Bytes

Contents

require 'spec_helper'

describe "Tax Rates", type: :feature 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

19 entries across 19 versions & 1 rubygems

Version Path
spree_backend-3.3.0.rc1 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.5 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.2.1 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.2.0 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.4 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.2.0.rc3 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.2.0.rc2 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.2.0.rc1 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.3 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.2 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.0.10 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.1 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.0 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.0.rc4 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.0.9 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.0.rc3 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.0.rc2 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.1.0.rc1 spec/features/admin/configuration/tax_rates_spec.rb
spree_backend-3.0.8 spec/features/admin/configuration/tax_rates_spec.rb