class Transpec::Syntax::ShouldReceive::AllowRecordBuilder

Public Instance Methods

old_syntax() click to toggle source
# File lib/transpec/syntax/should_receive.rb, line 202
def old_syntax
  syntax = super
  syntax << '.any_number_of_times' if should_receive.any_number_of_times?
  syntax << '.at_least(0)' if should_receive.at_least_zero?
  syntax
end
syntax_name() click to toggle source
# File lib/transpec/syntax/should_receive.rb, line 198
def syntax_name
  'allow'
end