README.md in govuk_ab_testing-0.1.1 vs README.md in govuk_ab_testing-0.1.2
- old
+ new
@@ -110,10 +110,11 @@
# test/controllers/party_controller_test.rb
class PartyControllerTest < ActionController::TestCase
include GovukAbTesting::MinitestHelpers
should "show the original " do
- add_ab_test_header("your_ab_test_name", "B")
+ analytics_dimension = 123
+ setup_ab_variant("your_ab_test_name", "B", analytics_dimension)
get :show
assert_unaffected_by_ab_test
end