Sha256: 25a159c93b8dda6fe67574d61e9f3590a45b1a49e2c7c554f194ed8e0a15068a
Contents?: true
Size: 706 Bytes
Versions: 19
Compression:
Stored size: 706 Bytes
Contents
require 'spec_helper' describe Sisow do it "should set the configuration" do Sisow.configure do |c| c.merchant_id = "789" c.merchant_key = "foobar" c.debug_mode = false c.test_mode = true c.shop_id = "myshop" end Sisow.configuration.merchant_id.should == "789" Sisow.configuration.merchant_key.should == "foobar" Sisow.configuration.debug_mode.should == false Sisow.configuration.test_mode.should == true Sisow.configuration.shop_id.should == "myshop" end it "should verify the Sisow API is reachable" do VCR.use_cassette('ping') do Sisow::Ping.should_receive(:send) Sisow.service_reachable? end end end
Version data entries
19 entries across 19 versions & 1 rubygems