spec/unit/parser_spec.rb in hatetepe-0.5.1 vs spec/unit/parser_spec.rb in hatetepe-0.5.2
- old
+ new
@@ -66,10 +66,10 @@
}.to raise_error(Hatetepe::ParserError)
end
end
let(:block) {
- stub("block").tap {|blk|
+ double("block").tap {|blk|
blk.stub :to_proc => proc {|*args| blk.call *args }
}
}
let(:do_request) {