small medium large xlarge

Generic-user-small
18 Oct 2010, 09:53
Paulo de Souza Geyer (1 post)

Hi,

at some point of the book, I’ve got a problem with line item controller functional test, that was about line_item price, I don’t know if i missed something in the book, but i fixed by changing the fixtures for line items adding the price: ruby.price line

one:
  product: ruby
  order: one
  price: ruby.price
  

two:
  product: ruby
  cart: one
  price: ruby.price

</code> using ruby.price this way is correct?

You must be logged in to comment