spec/unit/mighty_mite/application_spec.rb in Overbryd-mighty-mite-0.1.2 vs spec/unit/mighty_mite/application_spec.rb in Overbryd-mighty-mite-0.1.3
- old
+ new
@@ -260,10 +260,10 @@
Mite::TimeEntry.should_receive(:all).with(:params => hash_including(:user_id => 'current'))
@application.run
end
it "should tell #{@argument}'s revenue, nicely formatted and colorized in lightgreen" do
- @application.should_receive(:tell).with("\e[1;32;49m2400.00 $\e[0m").at_least(:once)
+ @application.should_receive(:tell).with("\e[1;32;49m24.00 $\e[0m").at_least(:once)
@application.run
end
end
['today', 'yesterday', 'this_week', 'last_week', 'this_month', 'last_month'].each do |argument|
\ No newline at end of file