spec/models/block_params_spec.rb in rakismet-1.2.0 vs spec/models/block_params_spec.rb in rakismet-1.2.1
- old
+ new
@@ -13,10 +13,9 @@
@block = BlockAkismetModel.new
comment_attrs.each_pair { |k,v| @block.stub!(k).and_return(v) }
end
it "should accept a block" do
- puts BlockAkismetModel.akismet_attrs.inspect
BlockAkismetModel.akismet_attrs[:comment_author].should eql(PROC)
end
it "should eval block with self = instance" do
data = @block.send(:akismet_data)