Sha256: 17e2a7aa5562bae93a374bcf2bfb3521481d8a6e67752ce494cf51bd4393d40b
Contents?: true
Size: 373 Bytes
Versions: 8
Compression:
Stored size: 373 Bytes
Contents
require '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
8 entries across 8 versions & 2 rubygems