Permalink
Browse files

DIRECTebanking: Fix notification method to use the correct number of …

…arguments
  • Loading branch information...
1 parent e5b90e4 commit a06fae599756ce889f3c486f6d66ed98e5123172 @Soleone Soleone committed May 6, 2011
@@ -35,7 +35,7 @@ def self.service_url
end
def self.notification(post, options = {})
- Notification.new(post)
+ Notification.new(post, options)
end
def self.return(post, options = {})
@@ -4,7 +4,7 @@ class DirectebankingNotificationTest < Test::Unit::TestCase
include ActiveMerchant::Billing::Integrations
def setup
- @deb = Directebanking::Notification.new(http_raw_data, :credential4 => "3qx-:03DDfmUVh}b16#Y")
+ @deb = Directebanking.notification(http_raw_data, :credential4 => "3qx-:03DDfmUVh}b16#Y")
end
def test_accessors

0 comments on commit a06fae5

Please sign in to comment.