search for: automation_book

Displaying 3 results from an estimated 3 matches for "automation_book".

2006 Mar 04
2
unittest, not loading yml data
Here is my products.yml version_control_book: id: 1 title: Pragmatic Version Control description: How to use version control image_url: /images/sk_svn_small.jpg price: 29.95 date_available: 2005-01-26 00:00:00 automation_book: id: 2 title: Pragmatic Project Automation description: How to automate your project image_url: /images/sk_auto_small.jpg price: 29.95 date_available: 2004-07-01 00:00:00 and I was trying to use @products and @version_control_book in my produ...
2006 May 19
3
new to rails; problem with testing section in Agile book
...ame(__FILE__) + ''/../test_helper'' class CartTest < Test::Unit::TestCase fixtures :products def setup @cart = Cart.new end # Replace this with your real tests. def test_add_unique_products @cart.add_product products(:version_control_book) @cart.add_product products(:automation_book) assert_equal products(:version_control_book).price + products(:automation_book).price, @cart.total_price assert_equal 2, @cart.items.size end def test_add_duplicate_product @card.add_product products(:version_control_book) @card.add_product products(:version_control_book) assert_equal...
2006 Jun 24
1
@version_control_book not available while testing - AWD book 1 page 148
In the page 148 of the AWD book it''s mentioned that the while testing @products and @version_control_book are automatically made available. That''s not the case with me. In my test environment I don''t get those two variables. I was wondering if anything has changed in Rails 1.1 because in the new edition of the book (AWD - edition 2) there is no mention of such