search for: test_load_yml

Displaying 1 result from an estimated 1 matches for "test_load_yml".

2006 Mar 04
2
unittest, not loading yml data
...use @products and @version_control_book in my product_test.rb script here is my test_product.rb require File.dirname(__FILE__) + ''/../test_helper'' class ProductTest < Test::Unit::TestCase fixtures :products def setup @product = Product.find(1) end def test_load_yml assert_equal nil, @products assert_equal nil, @version_control_book assert_equal nil, @automation_book end end And here is what I am getting from product_test.rb, [beeplove@localhost depot]$ ruby test/unit/product_test.rb Loaded suite test/unit/product_test Started . Fi...