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/models/public_body_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/models/public_body_spec.rb')
-rw-r--r-- | spec/models/public_body_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb index f00138ab3..acfe005e8 100644 --- a/spec/models/public_body_spec.rb +++ b/spec/models/public_body_spec.rb @@ -95,7 +95,7 @@ describe PublicBody, " using machine tags" do end describe PublicBody, "when finding_by_tags" do - fixtures :public_bodies + fixtures :public_bodies, :public_body_translations before do @geraldine = public_bodies(:geraldine_public_body) @@ -161,7 +161,7 @@ describe PublicBody, " when saving" do end describe PublicBody, "when searching" do - fixtures :public_bodies, :public_body_versions + fixtures :public_bodies, :public_body_translations, :public_body_versions it "should find by existing url name" do body = PublicBody.find_by_url_name_with_historic('dfh') |