Method: TestData#promiscuous=

Defined in:
lib/test_data.rb

#promiscuous=(val) ⇒ Object

Public: DEPRECATED

val - Boolean indicating whether test data should be promiscuous; if true, test data will be refreshed on every

access.

Returns nothing.



31
32
33
34
35
36
# File 'lib/test_data.rb', line 31

def promiscuous=(val)
  unless val == true || val == false
    raise "Invalid promiscuous value: #{val}"
  end
  @promiscuous = val
end