Sha256: e8db217bf00ba81b755e39133153b31e52dc4ccae74c490331baaf023c6619c8
Contents?: true
Size: 431 Bytes
Versions: 27
Compression:
Stored size: 431 Bytes
Contents
module RSpec::RubyContent module Helpers def check_matchings matchings matchings.each do |matching| self.should match /#{Regexp.escape(matching)}/ end end alias_method :matchings, :check_matchings def check_methods methods, type=nil methods.each do |method_name| self.should have_method(method_name, type) end end alias_method :methods, :check_methods end end
Version data entries
27 entries across 27 versions & 2 rubygems