Sha256: fcb832c9bfe815834524bd78c76caf65eae2555c10668c442adabb18e6703cca

Contents?: true

Size: 461 Bytes

Versions: 2

Compression:

Stored size: 461 Bytes

Contents

require File.dirname(__FILE__) + '/../../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
end 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activemerchant-1.2.0 test/unit/integrations/bogus_module_test.rb
activemerchant-1.2.1 test/unit/integrations/bogus_module_test.rb