Permalink
Browse files

clean up

  • Loading branch information...
1 parent 677d005 commit 14f70f8680b4f4d5a95bbdca426c969f77a5f10f @davejacobs committed Jul 11, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/letters/helpers.rb
  2. +2 −2 spec/letters/core_ext_spec.rb
View
4 lib/letters/helpers.rb
@@ -99,12 +99,12 @@ def self.pretty_callstack(callstack)
parsed.unshift headers
- longest_line =
+ longest_line =
parsed.map {|entry| entry[:line] }.
sort_by(&:length).
last
- longest_method =
+ longest_method =
parsed.map {|entry| entry[:method_name] }.
sort_by(&:length).
last
View
4 spec/letters/core_ext_spec.rb
@@ -49,7 +49,7 @@ module Letters
it "raises a Letters::AssertionError if the block returns false" do
lambda do
- [1, 2, 3].a { count > 3 }
+ [1, 2, 3].a { count > 3 }
end.should raise_error(Letters::AssertionError)
end
@@ -171,7 +171,7 @@ module Letters
describe "#l (log)" do
it "logs the object if a logger is present and then returns the object" do
- logger = double 'logger'
+ logger = double "logger"
logger.should_receive(:info).with(hash.to_yaml)
hash.should_receive(:logger).and_return(logger)
hash.l

0 comments on commit 14f70f8

Please sign in to comment.