test/presenter_test.rb in polish_invoicer-0.0.17 vs test/presenter_test.rb in polish_invoicer-0.0.18
- old
+ new
@@ -33,12 +33,12 @@
data = Presenter.new(@invoice).data
assert_equal [], data[:comments]
@invoice.comments = 'Test'
data = Presenter.new(@invoice).data
assert_equal ['Test'], data[:comments]
- @invoice.comments = %w(A B)
+ @invoice.comments = %w[A B]
data = Presenter.new(@invoice).data
- assert_equal %w(A B), data[:comments]
+ assert_equal %w[A B], data[:comments]
end
def test_vat
@invoice.vat = 23
data = Presenter.new(@invoice).data