diff --git a/test/functional/help_controller_test.rb b/test/functional/help_controller_test.rb index 757bcdec53..e4052c1042 100644 --- a/test/functional/help_controller_test.rb +++ b/test/functional/help_controller_test.rb @@ -86,7 +86,7 @@ class HelpControllerTest < ActionController::TestCase get :ab_testing assert_select ".ab-example-group", text: "A" - assert_meta_tag "govuk:ab-test:Example:current-bucket", "A" + assert_meta_tag "govuk:ab-test", "Example:A" end should "show the user the 'B' version if the user is in bucket 'A'" do @@ -94,14 +94,14 @@ class HelpControllerTest < ActionController::TestCase get :ab_testing assert_select ".ab-example-group", text: "B" - assert_meta_tag "govuk:ab-test:Example:current-bucket", "B" + assert_meta_tag "govuk:ab-test", "Example:B" end should "show the user the default version if the user is not in a bucket" do get :ab_testing assert_select ".ab-example-group", text: "A" - assert_meta_tag "govuk:ab-test:Example:current-bucket", "A" + assert_meta_tag "govuk:ab-test", "Example:A" end should "show the user the default version if the user is in an unknown bucket" do @@ -109,7 +109,7 @@ class HelpControllerTest < ActionController::TestCase get :ab_testing assert_select ".ab-example-group", text: "A" - assert_meta_tag "govuk:ab-test:Example:current-bucket", "A" + assert_meta_tag "govuk:ab-test", "Example:A" end end