Sha256: e3272406e994d4b9444f9049ee6365439f7580473398839876a02db0638dfc1a

Contents?: true

Size: 527 Bytes

Versions: 34

Compression:

Stored size: 527 Bytes

Contents

require 'test_helper'

class BogusModuleTest < Test::Unit::TestCase
  include ActiveMerchant::Billing::Integrations
  
  def test_notification_method
    assert_instance_of Bogus::Notification, Bogus.notification('name=cody')
  end

  def test_service_url
    new = 'http://www.unbogus.com'
    assert_equal 'http://www.bogus.com', Bogus.service_url
    Bogus.service_url = new
    assert_equal new, Bogus.service_url
  end
  
  def test_return_method
    assert_instance_of Bogus::Return, Bogus.return('name=cody')
  end
end 

Version data entries

34 entries across 34 versions & 11 rubygems

Version Path
johnideal-activemerchant-1.4.10 test/unit/integrations/bogus_module_test.rb
johnideal-activemerchant-1.4.11 test/unit/integrations/bogus_module_test.rb
johnideal-activemerchant-1.4.4 test/unit/integrations/bogus_module_test.rb
johnideal-activemerchant-1.4.5 test/unit/integrations/bogus_module_test.rb
johnideal-activemerchant-1.4.6 test/unit/integrations/bogus_module_test.rb
johnideal-activemerchant-1.4.7 test/unit/integrations/bogus_module_test.rb
johnideal-activemerchant-1.4.8 test/unit/integrations/bogus_module_test.rb
mattbauer-activemerchant-1.4.2 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.3 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.4 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.5 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.6 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.7 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.8 test/unit/integrations/bogus_module_test.rb
tomriley-tomriley-active_merchant-1.4.2.4 test/unit/integrations/bogus_module_test.rb
goldstar-activemerchant-1.4.2.7 test/unit/integrations/bogus_module_test.rb
goldstar-activemerchant-1.4.2.6 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.11 test/unit/integrations/bogus_module_test.rb
tomriley-active_merchant-1.4.2.10 test/unit/integrations/bogus_module_test.rb
smulube-activemerchant-1.5.1.4 test/unit/integrations/bogus_module_test.rb