Skip to content

Commit

Permalink
Make data in specs easier to read
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Cheek <josh.cheek@gmail.com>
  • Loading branch information
rewinfrey authored and JoshCheek committed Jul 27, 2012
1 parent 7d1b6a3 commit 090afa2
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions spec/nyan_cat_formatter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@

it 'should relax Nyan Cat' do
@formatter.example_passed(@example)
@formatter.nyan_cat.should == [ "_,------, ",
"_| /\\_/\\ ",
"~|_( ^ .^) ",
" \"\" \"\" "
@formatter.nyan_cat.should == [
'_,------, ',
'_| /\_/\ ',
'~|_( ^ .^) ',
' "" "" '
].join("\n")
end

Expand All @@ -61,10 +62,11 @@

it 'should alert Nyan Cat' do
@formatter.example_pending(@example)
@formatter.nyan_cat.should == [ "_,------, ",
"_| /\\_/\\ ",
"~|_( o .o) ",
" \"\" \"\" "
@formatter.nyan_cat.should == [
'_,------, ',
'_| /\_/\ ',
'~|_( o .o) ',
' "" "" '
].join("\n")
end

Expand All @@ -84,10 +86,11 @@

it 'should alert Nyan Cat' do
@formatter.example_failed(@example)
@formatter.nyan_cat.should == [ "_,------, ",
"_| /\\_/\\ ",
"~|_( o .o) ",
" \"\" \"\" "
@formatter.nyan_cat.should == [
'_,------, ',
'_| /\_/\ ',
'~|_( o .o) ',
' "" "" '
].join("\n")
end

Expand Down

0 comments on commit 090afa2

Please sign in to comment.