Remove tests checking that the theme is present in the manifest

I’ve removed that portion of the comment since changing the theme doesn’t affect the content stored offline anymore.
pull/858/head
Jed Fox 7 years ago committed by GitHub
parent 3ab5f0c3c8
commit 0b140d48a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,19 +100,6 @@ class AppTest < MiniTest::Spec
refute_includes last_response.body, 'foo'
end
it "has the word 'default' when no 'dark' cookie is set" do
get '/manifest.appcache'
assert_includes last_response.body, '# default'
refute_includes last_response.body, '# dark'
end
it "has the word 'dark' when the cookie is set" do
set_cookie('dark=1')
get '/manifest.appcache'
assert_includes last_response.body, '# dark'
refute_includes last_response.body, '# default'
end
it "sets default size" do
get '/manifest.appcache'
assert_includes last_response.body, '20rem'

Loading…
Cancel
Save