Sha256: 7f311ac542c0f1dba22d58b5ead0f95d65e9c5cfaf5c962b0203e142fdd1bf3e
Contents?: true
Size: 583 Bytes
Versions: 2
Compression:
Stored size: 583 Bytes
Contents
require 'spec_helper' describe Itunes do describe 'the module' do before do Itunes.shared_secret = nil end context 'sandbox' do it 'should be production by default' do Itunes.sandbox?.should == false end it 'should be settable' do Itunes.sandbox! Itunes.sandbox?.should == true end end context 'shared_secret' do it 'should allow setting' do Itunes.shared_secret.should be_nil Itunes.shared_secret = 'hey' Itunes.shared_secret.should == 'hey' end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
suhovius-itunes-receipt-1.1.1 | spec/itunes_spec.rb |
itunes-receipt-1.1.0 | spec/itunes_spec.rb |