Sha256: 6b26df4a42c58e6289c75b14a502d2cb92796c0051a711057d3a4c7fae9d457d
Contents?: true
Size: 342 Bytes
Versions: 2
Compression:
Stored size: 342 Bytes
Contents
require 'sham/base' describe Sham::Base do let(:klass){ stub } it 'should call sham! on the class' do klass.should_receive(:sham!) described_class.new(klass).sham! end it 'should pass sham options' do options = stub klass.should_receive(:sham!).with(options) described_class.new(klass, options).sham! end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sham-1.1.0 | spec/lib/sham/base_spec.rb |
sham-1.0.3 | spec/lib/sham/base_spec.rb |