Sha256: 2d82b7185a0f129e5d05d22875e9042eb05d1a295da6de11d32c7aa0002cf3f6

Contents?: true

Size: 327 Bytes

Versions: 11

Compression:

Stored size: 327 Bytes

Contents

require 'sets/category_context'
require 'sets/product_context'
require 'sets/cart_context'
require 'sets/order_context'

module Contexts
	def self.setup
	  create_categories
		create_products
		create_carts
		create_orders
	end

	def self.teardown
		delete_orders
		delete_carts
		delete_products
	  delete_categories
	end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ferry-2.0.0 spec/contexts.rb
ferry-1.3.3 spec/contexts.rb
ferry-1.3.2 spec/contexts.rb
ferry-1.3.1 spec/contexts.rb
ferry-1.3.0 spec/contexts.rb
ferry-1.2.1 spec/contexts.rb
ferry-1.2.0 spec/contexts.rb
ferry-1.1.1 spec/contexts.rb
ferry-1.1.0 spec/contexts.rb
ferry-1.0.1 spec/contexts.rb
ferry-1.0.0 spec/contexts.rb