module RSpec::Siren::Matchers

Public Instance Methods

have_action(expected_action) click to toggle source
# File lib/rspec/siren/matchers.rb, line 10
def have_action(expected_action)
  HasAction.new(expected_action)
end
have_class(expected_class) click to toggle source
# File lib/rspec/siren/matchers.rb, line 14
def have_class(expected_class)
  HasClass.new(expected_class)
end
have_entities() click to toggle source
# File lib/rspec/siren/matchers.rb, line 18
def have_entities
  HasEntities.new
end
have_property(expected_name) click to toggle source
# File lib/rspec/siren/matchers.rb, line 26
def have_property(expected_name)
  HasProperty.new(expected_name)
end