Sha256: 9d65068e68ad67939383c62285b6cdcda46d4794f6210c762cc7ef81f5bac350
Contents?: true
Size: 489 Bytes
Versions: 19
Compression:
Stored size: 489 Bytes
Contents
require 'test_helper' class ShippingZonesAcceptanceTest < ActionDispatch::IntegrationTest test "create new shipping zone and should add state level shipping methods" do visit admin_path click_link 'Shipping zones' click_link 'add_new_shipping_zone' bef = RegionalShippingZone.count select 'Canada', from: 'Country name' click_button('Submit') assert page.has_content?('Successfully created') assert_equal 13, RegionalShippingZone.count - bef end end
Version data entries
19 entries across 19 versions & 1 rubygems