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