Skip to content

Commit fa8b039

Browse files
Merge pull request #693 from citizensadvice/chore/cookie-preferences-v0.4.0
chore: cookie-preferences v0.4.0
2 parents 10f5055 + 1f0881b commit fa8b039

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ gem "citizens_advice_components",
4343

4444
gem "citizens_advice_cookie_preferences",
4545
github: "citizensadvice/cookie-preferences",
46-
tag: "v0.3.1"
46+
tag: "v0.4.0"
4747

4848
# The citizens_advice_components gem uses view component but we also use this to write
4949
# our app components so explicitly name it as an application dependency.

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ GIT
2121

2222
GIT
2323
remote: https://github.com/citizensadvice/cookie-preferences.git
24-
revision: 88ca6886eca1aae17c23cad0fbe0ea36d92cfa46
25-
tag: v0.3.1
24+
revision: 98d4ccc4901c5e181530bde484d9cc76af1484c5
25+
tag: v0.4.0
2626
specs:
27-
citizens_advice_cookie_preferences (0.3.1)
27+
citizens_advice_cookie_preferences (0.4.0)
2828
addressable (~> 2.7)
2929
citizens_advice_components (> 8.0.0)
3030
meta-tags
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# frozen_string_literal: true
22

33
Then("the cookie banner is rendered") do
4-
expect(page).to have_text("We'd also like to use additional cookies")
4+
expect(page).to have_text("We'd also like to use some additional cookies to:")
55
expect(page).to have_no_text("It looks like you have JavaScript turned off.")
6-
expect(page).to have_link("find out more about the cookies we use", href: "/about-us/information/how-we-use-cookies/")
6+
expect(page).to have_link("Find out more about how we use cookies and keep your data safe",
7+
href: "/about-us/information/how-we-use-cookies/")
78
expect(page).to have_link("Choose cookies", href: "/cookie-preferences/?ReturnUrl=#{CGI.escape(current_url)}")
89
end

0 commit comments

Comments
 (0)