diff options
author | Robin Houston <robin@lenny.robin> | 2011-06-09 16:07:04 +0100 |
---|---|---|
committer | Robin Houston <robin@lenny.robin> | 2011-06-09 16:07:04 +0100 |
commit | 2d205979d6e75f36ea511645b07be1bfd9a57f66 (patch) | |
tree | 3a9418d27f2e4058730160dd815fe996fecfe194 /spec/controllers/comment_controller_spec.rb | |
parent | 4d077dc48fb0589dbf401a131d524b23ab0d2258 (diff) |
Make sure the :public_body_translation fixture is included everywhere the :public_bodies fixture is, because the PublicBody objects do not work as expected without it.
Diffstat (limited to 'spec/controllers/comment_controller_spec.rb')
-rw-r--r-- | spec/controllers/comment_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/comment_controller_spec.rb b/spec/controllers/comment_controller_spec.rb index dfa5be73c..2b0f5eee2 100644 --- a/spec/controllers/comment_controller_spec.rb +++ b/spec/controllers/comment_controller_spec.rb @@ -2,7 +2,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe CommentController, "when commenting on a request" do integrate_views - fixtures :info_requests, :outgoing_messages, :public_bodies, :users, :comments + fixtures :info_requests, :outgoing_messages, :public_bodies, :public_body_translations, :users, :comments it "should give an error and render 'new' template when body text is just some whitespace" do post :new, :url_title => info_requests(:naughty_chicken_request).url_title, |