Sha256: 115c6510ca4a961ed8f91e9427cbd68cfa41151790fb8bbe232fe37b5e9c932c
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
require 'spec_helper' describe Spree::Gateway::AuthorizeNet do let (:gateway) { Spree::Gateway::AuthorizeNet.create!(:name => "Authorize.net") } describe "options" do it "should include :test => true when :test_mode is true" do gateway.preferred_test_mode = true gateway.options[:test].should == true end it "should not include :test when test_mode is false" do gateway.preferred_test_mode = false gateway.options[:test].should == false end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_gateway-2.1.1 | spec/models/gateway/authorize_net_spec.rb |
spree_gateway-2.0.1 | spec/models/gateway/authorize_net_spec.rb |