Sha256: 5e861d39aee375c9e655ce144de80d6d2686075560365cbc3a049f48f5745d2c
Contents?: true
Size: 249 Bytes
Versions: 67
Compression:
Stored size: 249 Bytes
Contents
require 'mspec/matchers/variable' class HaveConstantMatcher < VariableMatcher self.variables_method = :constants self.description = 'constant' end class Object def have_constant(variable) HaveConstantMatcher.new(variable) end end
Version data entries
67 entries across 67 versions & 3 rubygems