Skip to content

Commit

Permalink
skip first line since we drop it
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Oct 4, 2012
1 parent dc00b19 commit aa4b98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/examples/mysql-slow-query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
event = subject.first
insist { event.message.split("\n").size } == 5 # 5 lines

lines.split("\n").each_with_index do |line, i|
lines.split("\n")[1..5].each_with_index do |line, i|
insist { event.message[i] } == line
end

Expand Down

0 comments on commit aa4b98b

Please sign in to comment.