Permalink
Browse files

Make the test a little sillier.

  • Loading branch information...
1 parent 6823462 commit 085326232776e25d86d2fcebf9a3b90825e9d117 @mdub committed Jul 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/representative/xml_behaviour.rb
View
4 spec/representative/xml_behaviour.rb
@@ -184,8 +184,8 @@
describe "with a Symbol value argument" do
it "calls the named method to generate a value" do
- r.list_of(:nicks, :nick_names)
- resulting_xml.should == %(<nicks type="array"><nick>Freddie</nick><nick>Knucklenose</nick></nicks>)
+ r.list_of(:foo_bars, :nick_names)
+ resulting_xml.should == %(<foo-bars type="array"><foo-bar>Freddie</foo-bar><foo-bar>Knucklenose</foo-bar></foo-bars>)
end
end

0 comments on commit 0853262

Please sign in to comment.