Permalink
Browse files

Valitor: Ensure Notification#currency is implemented

  • Loading branch information...
Soleone committed Jun 21, 2011
1 parent 9e376fa commit 411b7d69a88db410295fea8dd781c86200dac07b
@@ -23,6 +23,10 @@ def transaction_id
params['VefverslunSalaID']
end
+ def currency
+ nil
+ end
+
def status
"Completed" if acknowledge
end
@@ -29,6 +29,7 @@ def test_accessors
assert_equal "EMAIL@EXAMPLE.COM", @notification.customer_email
assert_equal "COMMENTS", @notification.customer_comment
assert_equal "100.00", @notification.gross
+ assert_nil @notification.currency
assert !@notification.test?
end

0 comments on commit 411b7d6

Please sign in to comment.