Sha256: efe3a04a4525b7e7c87a9d7aa3f8fc18956074a01a95619804d89fabb35c6012
Contents?: true
Size: 498 Bytes
Versions: 2
Compression:
Stored size: 498 Bytes
Contents
require 'spec_helper' describe Spree::Gateway::PayJunction do let (:gateway) { Spree::Gateway::PayJunction.create!(:name => "PayJunction") } describe "options" do it "should include :test => true in 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/pay_junction_spec.rb |
spree_gateway-2.0.1 | spec/models/gateway/pay_junction_spec.rb |