Displaying 3 results from an estimated 3 matches for "fixture_table_names".
2011 Dec 25
1
Fixtures vs Fixture class, what is the intended purpose?
...e` does nothing but set up two instance
variables, and it is not called anywhere in fixtures.rb. (Maybe i''ll
try to remove it and run tests, to see what happens.)
I am also considering to propose changing some fixtures API, like to
make the (undocumented?) class attribute
`TestFixtures::fixture_table_names` to hold a Hash of `"fixture_name" =>
:table_name`, similarly to `TestFixtures::fixture_class_names` holding
the Hash of `"fixture_name" => FixtureModelClass` (i would also propose
to rename). Currently `TestFixtures::fixture_table_names` holds an
Array. I am also trying...
2007 Sep 19
1
Strange error in StoryRunner (was: Mocks in StoryRunner)
Hi,
I''m posting this stack trace again because it keeps popping up,
seemingly as the ''default error'' when something is wrong with my story
code; for instance, I got it when I referenced a variable in my
''Given'' that I had forgotten to pass into the block.
Now I''m getting it when I attempt to post to a login action:
And ''user is
2006 Nov 24
13
rSpec on Rails 1.2?
I just updated my Rails install to the most current Edge and my
controller specs fail:
1)
TypeError in ''The User Controller should be a user controller''
can''t convert nil into String
Each spec fails the same way.
<context string> <spec string>
can''t convert nil into String
Any ideas what''s up with this?
Thanks,
s.ross