spec/lib/sham/base_spec.rb in sham-1.1.0 vs spec/lib/sham/base_spec.rb in sham-1.2.0

- old
+ new

@@ -1,16 +1,16 @@ require 'sham/base' describe Sham::Base do - let(:klass){ stub } + let(:klass){ double } 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 + options = double klass.should_receive(:sham!).with(options) described_class.new(klass, options).sham! end end