Sha256: f742e6dca2d74a604290d8282d20ad12bc213c6bf16603226e20a5176cc3ccaf
Contents?: true
Size: 276 Bytes
Versions: 67
Compression:
Stored size: 276 Bytes
Contents
require 'mspec/matchers/variable' class HaveClassVariableMatcher < VariableMatcher self.variables_method = :class_variables self.description = 'class variable' end class Object def have_class_variable(variable) HaveClassVariableMatcher.new(variable) end end
Version data entries
67 entries across 67 versions & 3 rubygems