spec/discoverer/pattern_spec.rb in discoverer-0.0.2 vs spec/discoverer/pattern_spec.rb in discoverer-0.0.3

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' describe Discoverer::Pattern do describe '#initialize' do it 'should set the source' do - source = stub 'source' + source = double 'source' pattern = Discoverer::Pattern.new source pattern.source.should == source end end end \ No newline at end of file