test/mvp_test.rb in frappuccino-0.2.0 vs test/mvp_test.rb in frappuccino-0.3.0

- old
+ new

@@ -8,15 +8,16 @@ stream = Frappuccino::Stream.new(button) counter = stream .map {|event| event == :pushed ? 1 : 0 } .inject(0) {|sum, n| sum + n } + .map { |val| val.to_s } - assert_equal 0, counter.now + assert_equal "0", counter.now 3.times { button.push } - assert_equal 3, counter.now + assert_equal "3", counter.now button.push - assert_equal 4, counter.now + assert_equal "4", counter.now end end