Class: InfinumJsonApiSetup::RSpec::Matchers::HaveEmptyData

Inherits:
JsonBodyMatcher
  • Object
show all
Defined in:
lib/infinum_json_api_setup/rspec/matchers/have_empty_data.rb

Instance Method Summary collapse

Methods inherited from JsonBodyMatcher

#failure_message, #matches?

Constructor Details

#initializeHaveEmptyData

Returns a new instance of HaveEmptyData.



10
11
12
# File 'lib/infinum_json_api_setup/rspec/matchers/have_empty_data.rb', line 10

def initialize
  super(Matchers::Util::BodyParser.new('data'))
end