Class: Transpec::Syntax::Receive::AnyInstanceBlockRecordBuilder

Inherits:
Mixin::AnyInstanceBlock::RecordBuilder show all
Defined in:
lib/transpec/syntax/receive.rb

Instance Method Summary collapse

Methods inherited from Mixin::AnyInstanceBlock::RecordBuilder

#new_syntax, #old_syntax

Methods inherited from RecordBuilder

build, #build, param_names

Instance Method Details

#base_syntaxObject



45
46
47
# File 'lib/transpec/syntax/receive.rb', line 45

def base_syntax
  "#{host.expectation.method_name}(Klass).to receive(:message)"
end