search for: plural_table_nam

Displaying 2 results from an estimated 2 matches for "plural_table_nam".

Did you mean: plural_table_name
2007 Feb 26
15
drbspec - "no server running"
...The thing is, the drb server certainly is running! This happened a few times with my model specs. I''m not sure exactly what the problem was there - I believe I was loading up fixtures that didn''t exist. I was calling fixtures :singular_table_name as opposed to fixtures :plural_table_name This time it happened with my controller. I generated the controller with the ./script/generate rspec_controller ControllerName command... It doesn''t appear that the specs are setup to fail to begin with, but if this were the default behavior, one certainly shouldn''t see a...
2007 Feb 28
2
Fixture name not available as class variable in spec
Hi there, I can''t seem to access the fixture name as a class variable from my specs. I have to set the variable in the spec setup. ... [fixtures] my_fixture: id: 1 ... [rpsec] @my_fixture.id.should == 1 ... [error] You have a nil object when you didn''t expect it! The error occurred while evaluating nil.id ... [my setup] RSpec-0.7.5.1 (r1395) - BDD for Ruby Rails