lib/minitest_to_rspec/rspec/stub.rb
# Returns :expect or :allow
Returns :expect or :allow
Returns : expect or : allow
def rspec_mocks_method
        prefix = @count.nil? ? 'allow' : 'expect'
        suffix = @any_instance ? '_any_instance_of' : ''
        (prefix + suffix).to_sym
      end
def rspec_mocks_method prefix = @count . nil? ? 'allow' : 'expect' suffix = @any_instance ? '_any_instance_of' : '' ( prefix + suffix ) . to_sym end
Returns :expect or :allow
Returns : expect or : allow