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:
parent
a71586ad99
commit
929ec31ced
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue