Skip to content

Commit

Permalink
remove deprecated rspec method
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Durand committed Mar 20, 2014
1 parent c352f90 commit 4d034d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/logger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@

it "should add entries with a progname but no message or block" do
time = Time.parse("2011-01-30T12:31:56.123")
Time.stub!(:now).and_return(time)
Time.stub(:now => time)
logger.set_progname("default") do
logger.add(Lumberjack::Severity::INFO, nil, "message")
end
Expand Down

0 comments on commit 4d034d7

Please sign in to comment.