diff options
author | francis <francis> | 2009-03-30 12:52:25 +0000 |
---|---|---|
committer | francis <francis> | 2009-03-30 12:52:25 +0000 |
commit | ebacad23bbc3d7a606c10a30c43a0155ef1a4692 (patch) | |
tree | 929e1a8060e6dff588bc0d8b221a2942278be96f /spec/models | |
parent | 83a77cd901cb7213e4b6c3b08d2037b7ba4cb15c (diff) |
Need history loaded in fixture in order to find by it.
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/public_body_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/public_body_spec.rb b/spec/models/public_body_spec.rb index ba727d535..baec4b1da 100644 --- a/spec/models/public_body_spec.rb +++ b/spec/models/public_body_spec.rb @@ -30,7 +30,7 @@ describe PublicBody, " when saving" do end describe PublicBody, "when searching" do - fixtures :public_bodies + fixtures :public_bodies, :public_body_versions it "should find by existing url name" do body = PublicBody.find_by_urlname('dfh') |