Skip to content

Commit

Permalink
DIRECTebanking: Fix notification method to use the correct number of …
Browse files Browse the repository at this point in the history
…arguments
  • Loading branch information
Soleone committed May 6, 2011
1 parent e5b90e4 commit a06fae5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/integrations/directebanking.rb
Expand Up @@ -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 = {})
Expand Down
Expand Up @@ -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
Expand Down

0 comments on commit a06fae5

Please sign in to comment.