Sha256: da15fb543fb8f96e07e2b7e7c9a3428aa6d9567d2aa889cd0db230c09f7bb538
Contents?: true
Size: 481 Bytes
Versions: 2
Compression:
Stored size: 481 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe Gateway::AuthorizeNet do let (:gateway) { Gateway::AuthorizeNet.new } describe "options" do it "should include :test => true when :test_mode is true" do gateway.prefers_test_mode = true gateway.options[:test].should == true end it "should not include :test when :test_mode is false" do gateway.prefers_test_mode = false gateway.options[:test].should be_nil end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
MyCommerceapi-1.0.0 | core/spec/models/gateway/authorize_net.rb |
MyCommerce-0.0.3 | core/spec/models/gateway/authorize_net.rb |