Sha256: 1d16b159a101f2e9df1838954abffd6d890fa203cc4e88bcf5fc4cf09f28f43c

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 Bytes

Contents

require File.dirname(__FILE__) + '/../../test_helper'

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

1 entries across 1 versions & 1 rubygems

Version Path
merb_merchant-1.4.1 test/unit/integrations/bogus_module_test.rb