Sha256: 2bd028d6c62c3e35afd2a06eedadcacaae8fcdb84019b247732cf8b99ecb8e4a

Contents?: true

Size: 225 Bytes

Versions: 13

Compression:

Stored size: 225 Bytes

Contents

module ShippingMethodSpecHelper
  def create_regional_shipping_method
    create(:country_shipping_method, name: 'Ground Shipping', base_price: 3.99, minimum_order_amount: 1, maximum_order_amount: 99999).regions[0]
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
nimbleshop_core-0.0.5 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.4.beta1 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.4 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.3 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.2 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.2.beta1 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.1 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.1.rc6 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.1.rc5 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.1.rc4 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.1.rc3 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.1.rc2 test/support/shipping_method_test_helper.rb
nimbleshop_core-0.0.1.rc1 test/support/shipping_method_test_helper.rb