Class: MiniSpec::Mocks::HashedStub

Inherits:
Object
  • Object
show all
Defined in:
lib/minispec/mocks.rb

Class Method Summary collapse

Class Method Details

.withObject

Raises:

  • (ArgumentError)


4
5
6
# File 'lib/minispec/mocks.rb', line 4

def self.with(*)
  raise(ArgumentError, "`with' can not be used on stubs/mocks defined using a Hash")
end