diff options
author | tony <tony> | 2009-03-21 09:06:31 +0000 |
---|---|---|
committer | tony <tony> | 2009-03-21 09:06:31 +0000 |
commit | 92a54807624faa777c5c2dfa5792dddb40208d4e (patch) | |
tree | 69816aafc5fd019697a368a3b9cdb02b017f96be /spec/controllers/body_controller_spec.rb | |
parent | b53166d14f7ebd3c8f7114f81e13477a53f45f37 (diff) |
test should be for single body
Diffstat (limited to 'spec/controllers/body_controller_spec.rb')
-rw-r--r-- | spec/controllers/body_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/body_controller_spec.rb b/spec/controllers/body_controller_spec.rb index 0059eb026..6d108c686 100644 --- a/spec/controllers/body_controller_spec.rb +++ b/spec/controllers/body_controller_spec.rb @@ -16,7 +16,7 @@ describe BodyController, "when showing a body" do it "should assign the body" do get :show, :url_name => "dfh" - assigns[:public_bodies].should == [ public_bodies(:humpadink_public_body) ] + assigns[:public_body].should == public_bodies(:humpadink_public_body) end it "should redirect to newest name if you use historic name of public body in URL" do |