Skip to content

Instantly share code, notes, and snippets.

@ntreadway
Created November 18, 2011 19:09
Show Gist options
  • Save ntreadway/1377438 to your computer and use it in GitHub Desktop.
Save ntreadway/1377438 to your computer and use it in GitHub Desktop.
before do
@store ||= Factory(:capybara_store, :depot => true)
@order ||= Factory(:order, :state => "processed", :store_id => @store.id, :shipping_address_id => user.default_address.id, :user => user)
<<<<<<< HEAD
@item ||=Factory(:rental_item, :order => @order, :created_at => 32.days.ago, :from => 32.days.ago, :source_status => 'shipped')
login(user)
=======
@rental_item ||= Factory(:rental_item, :order => @order, :created_at => 32.days.ago, :from => 32.days.ago, :source_status => 'shipped')
>>>>>>> 6450894835d13bbca6b80cb5811f7099d4857a29
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment