Class: MiniSpec::Mocks::HashedStub
- Inherits:
-
Object
- Object
- MiniSpec::Mocks::HashedStub
- Defined in:
- lib/minispec/mocks.rb
Class Method Summary collapse
Class Method Details
.with ⇒ Object
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 |