spec/models/block_params_spec.rb in rakismet-1.5.1 vs spec/models/block_params_spec.rb in rakismet-1.5.2
- old
+ new
@@ -9,10 +9,10 @@
describe BlockAkismetModel do
before do
@block = BlockAkismetModel.new
- comment_attrs.each_pair { |k,v| @block.stub!(k).and_return(v) }
+ comment_attrs.each_pair { |k,v| @block.stub(k).and_return(v) }
end
it "should accept a block" do
BlockAkismetModel.akismet_attrs[:comment_author].should eql(PROC)
end