Class: RSpec::Contracts::UnspecifiedResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/contracts/unspecified_response.rb

Instance Method Summary collapse

Instance Method Details

#described_by?(response) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/rspec/contracts/unspecified_response.rb', line 4

def described_by?(response)
  true
end

#to_hashObject



8
9
10
# File 'lib/rspec/contracts/unspecified_response.rb', line 8

def to_hash
  {}
end