Sha256: 1f341bcb9d5cc06e8016ca914603d8aeffdb0a15a16368a67db023f572bde48c
Contents?: true
Size: 401 Bytes
Versions: 2
Compression:
Stored size: 401 Bytes
Contents
require File.dirname(__FILE__) + '/../spec_helper' EXTRA = { :extra => :extra, :another => lambda { } } class ExtendedAkismetModel include Rakismet::Model rakismet_attrs EXTRA.dup end describe ExtendedAkismetModel do it "should include additional attributes" do [:extra, :another].each do |field| ExtendedAkismetModel.akismet_attrs[field].should eql(EXTRA[field]) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rakismet-1.2.1 | spec/models/extended_params_spec.rb |
rakismet-1.2.0 | spec/models/extended_params_spec.rb |