Oh, didn't know anyone was actually using this :-)

It's because Rails no longer include the fixture-model into Test::Unit::TestCase, but rather into a subclass. I'll see if I can fix it...

//Magnus

Den 2. mai. 2009 kl. 22.04 skrev Mikkel Refsgaard Bech <mik...@refsgaardbech.dk >:

Hi

Trying to use camping-test with my camping app but I get an error:
undefined method `fixtures'

The error can be reproduced by using this empty app (your_app.rb):

require 'camping'
Camping.goes :YourApp
module Steps
 module Models
 end
 module Controllers
 end
 module Views
 end
end

And running the test from camping-test:
http://github.com/judofyr/camping-test/tree/master

I just run:
# ruby test_your_app.rb
test_your_app.rb:7: undefined method `fixtures' for YourApp::Tests::TestSomeBasicStuff:Class (NoMethodError)

camping-1.9.300
activesupport-2.3.2
activerecord-2.3.2
camping-test

Is anyone using this successfully?

Regards,
Mikkel

_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to