Class: RSpec::JsonMatchers::Expectations::Private::Nothing

Inherits:
Core::SingletonExpectation show all
Defined in:
lib/rspec/json_matchers/expectations/private.rb

Overview

Always “fail”

Instance Method Summary collapse

Methods inherited from Core::SingletonExpectation

inherited

Methods inherited from RSpec::JsonMatchers::Expectation

build, build_many

Instance Method Details

#expect?(*_args) ⇒ Boolean

Returns:

  • (Boolean)


152
153
154
# File 'lib/rspec/json_matchers/expectations/private.rb', line 152

def expect?(*_args)
  false
end