1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

generalize test

This commit is contained in:
Marshall Shen 2014-01-08 16:42:50 -06:00 committed by James Cox
parent a71586ad99
commit 929ec31ced

View file

@ -16,11 +16,11 @@ begin
end
it "plain multiline" do
struct = OpenStruct.new :name => "Marshall Shen", :address => "605 Madion St."
struct = OpenStruct.new :name => "Foo", :address => "Bar"
@ap.send(:awesome, struct).should == <<-EOS.strip
OpenStruct {
:address => "605 Madion St.",
:name => "Marshall Shen"
:address => "Bar",
:name => "Foo"
}
EOS
end