Class: Transpec::Syntax::Receive::UselessAndReturnRecordBuilder

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

Instance Method Summary collapse

Methods inherited from Mixin::UselessAndReturn::RecordBuilder

#new_syntax, #old_syntax

Methods inherited from RecordBuilder

build, #build, param_names

Instance Method Details

#base_syntaxObject



39
40
41
# File 'lib/transpec/syntax/receive.rb', line 39

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