search for: moderatorships

Displaying 1 result from an estimated 1 matches for "moderatorships".

2008 Feb 18
5
uh... fixtures?
...e_instantiated_fixtures = false config.fixture_path = RAILS_ROOT + ''/test/fixtures/'' # borrow existing ones ^ config.global_fixtures = :posts, :topics, :users And here''s a Beast test translated into a spec: describe Post do fixtures :forums, :moderatorships, :monitorships, :posts, :topics, :users it ''should require body for post'' do @post = topics(:pdi).posts.build @post.valid? assert @post.errors.on(:body) end end And the whiny nil error message hits topics(:pid). Any ideas? -- Phlip