Sha256: f022961b7bff9693556cc55b1c0635b7a91ceec0924e41e4c2ad00ffd7098cd1
Contents?: true
Size: 466 Bytes
Versions: 16
Compression:
Stored size: 466 Bytes
Contents
module DataMapper module Spec module CollectionHelpers module GroupMethods def self.extended(base) base.class_inheritable_accessor :loaded base.loaded = false end def should_not_be_a_kicker(ivar = :@articles) unless loaded it 'should not be a kicker' do instance_variable_get(ivar).should_not be_loaded end end end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems