Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix view test.

  • Loading branch information...
commit c11f9dde7b15759372453203e476a3d9a31db704 1 parent 16a23e6
@knaveofdiamonds authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 test/test_view.rb
View
9 test/test_view.rb
@@ -10,12 +10,11 @@
asciifier = MiniTest::Mock.new
asciifier.expect(:asciify, "foo", ["00:01"])
@view.asciifier = asciifier
- @screen.expect(:display, nil, ["foo"])
- pomodoro = MiniTest::Mock.new
- pomodoro.expect(:time_remaining, 1, [])
-
+ @screen.expect(:display, nil, ["foo", :red, true])
+ pomodoro = Pompom::Pomodoro.new(1)
+
@view.update(pomodoro)
-
+
@screen.verify
asciifier.verify
end
Please sign in to comment.
Something went wrong with that request. Please try again.