Displaying 2 results from an estimated 2 matches for "instantiated_fixtur".
Did you mean:
instantiated_fixtures
2007 Mar 12
1
rspec on rails instantiated fixtures OFF by default ?
Hi there,
Why are the instantiated fixtures turned off by default in the rspec on
rails plugin? This was not the case in older versions.
After upgrading (and much head scratching) I had to turn on the
instantiated_fixtures in spec_helper thusly ...
self.use_instantiated_fixtures = true
Regards,
Keith
2006 Aug 11
5
Unit tests - NilClass problem
Hi!
Yesterday I started to write my unit tests for the fist time using
rails. I''m using this method:
http://blog.codahale.com/2005/12/23/a-rails-howto-simplify-your-unit-tests/
My customer_test.rb looks like this:
require File.dirname(__FILE__) + ''/../test_helper''
class CustomerTest < Test::Unit::TestCase
fixtures :customers
# Replace this with your real