Method: GovukAbTesting::Configuration#acceptance_test_framework=
- Defined in:
- lib/govuk_ab_testing/configuration.rb
permalink #acceptance_test_framework=(framework) ⇒ Object
[View source]
14 15 16 17 18 19 20 21 |
# File 'lib/govuk_ab_testing/configuration.rb', line 14 def acceptance_test_framework=(framework) unless VALID_FRAMEWORKS.include?(framework) raise "Invalid acceptance test framework '#{framework}'" end config[:acceptance_test_framework] = framework @framework_class = nil end |