Displaying 2 results from an estimated 2 matches for "andypet".
Did you mean:
andybe
2006 May 03
1
Nubee Fixtures + Tests problem
According to the book, @timesheets["first_timesheet"] should be
accesible from within my functional test, but its not!
Timesheets.yml :
first_timesheet:
status: 2
start_date: 2006-04-24
cost: 10
employee: 444
id: 10683
charge: 20
My Test :
class AdminTimesheetsControllerTest < Test::Unit::TestCase
fixtures :timesheets
def test_viewTimesheet
get
2006 May 04
0
@products["car"] to access fixtures isn''t working in tests
class ProductsControllerTest < Test::Unit::TestCase
fixtures :products
end
--
Posted via http://www.ruby-forum.com/.