Sha256: 0d1e71bb8d6428fdc73d3c6a015c522de99e4306899afcacfc494c36c3933675
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
module RspecTwicks def self.included(klass) klass.extend(InstanceMethods) klass.send(:include, ClassMethods) end module InstanceMethods # mimic shoulda def should(desc, &block) it('should ' + desc, &block) end def fetch(desc, &block) it('should fetch' + desc, &block) end end module ClassMethods end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec_twicks-1.1.0 | lib/rspec_twicks.rb |