Class: Test::Spec::Should

Inherits:
Object
  • Object
show all
Defined in:
lib/obsidian/spec/set_spec_helper.rb,
lib/obsidian/spec/map_spec_helper.rb

Instance Method Summary collapse

Instance Method Details

#allObject



42
43
44
# File 'lib/obsidian/spec/map_spec_helper.rb', line 42

def all
  Obsidian::Spec::MappingMatcher.new(@object)
end

#mapObject



45
46
47
# File 'lib/obsidian/spec/map_spec_helper.rb', line 45

def map
  Obsidian::Spec::MappingMatcher.new(@object)
end

#subsetObject



34
35
36
# File 'lib/obsidian/spec/set_spec_helper.rb', line 34

def subset
  Obsidian::Spec::SubsetMatcher.new(@object)
end

#supersetObject



37
38
39
# File 'lib/obsidian/spec/set_spec_helper.rb', line 37

def superset
  Obsidian::Spec::SupersetMatcher.new(@object)
end