From 0b140d48a237ae1ffa64b9f7e940cab9810c72a1 Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Mon, 13 Aug 2018 11:00:43 -0400 Subject: [PATCH] Remove tests checking that the theme is present in the manifest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’ve removed that portion of the comment since changing the theme doesn’t affect the content stored offline anymore. --- test/app_test.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/app_test.rb b/test/app_test.rb index 5401e3ae..15119c81 100644 --- a/test/app_test.rb +++ b/test/app_test.rb @@ -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'