Sha256: bdd488280e3090042026efaa1db1342ea3fbd7b3cbc085f64293397030104052

Contents?: true

Size: 526 Bytes

Versions: 2

Compression:

Stored size: 526 Bytes

Contents

require 'test_helper'

class BogusModuleTest < Test::Unit::TestCase
  include AbtainBilling::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

2 entries across 2 versions & 1 rubygems

Version Path
abtain_billing-1.03 test/unit/integrations/bogus_module_test.rb
abtain_billing-1.02 test/unit/integrations/bogus_module_test.rb