Sha256: 52e13fb609dcca7306090df0638739b2c0eea2064c2e78fdfe14913de0216cf1
Contents?: true
Size: 430 Bytes
Versions: 7
Compression:
Stored size: 430 Bytes
Contents
# Extend your spec with this module if you want your spec to be able to move # an order through the checkout process module CheckoutInfrastructure def self.extended(base) base.before(:all) do create :country create :shipping_method end base.after(:all) do DatabaseCleaner.clean_with(:truncation) end end end RSpec.configure do |config| config.extend CheckoutInfrastructure, :checkout end
Version data entries
7 entries across 7 versions & 1 rubygems