Showing the changes to test (1 of 4 files). Show all
Unified · Split
| @@ -69,17 +69,17 @@ class AppTest < MiniTest::Spec · 68 unmodified lines | ||
| 69 | 69 | assert_includes last_response.body, '/html/index.json' |
| 70 | 70 | end |
| 71 | 71 | |
| 72 | − it "includes has the word 'light' by default" do | |
| 72 | + it "has the word 'default' when no 'dark' cookie is set" do | |
| 73 | 73 | get '/manifest.appcache' |
| 74 | − assert_includes last_response.body, '# light' | |
| 74 | + assert_includes last_response.body, '# default' | |
| 75 | 75 | refute_includes last_response.body, '# dark' |
| 76 | 76 | end |
| 77 | 77 | |
| 78 | − it "includes has the word 'dark' when the cookie is set" do | |
| 78 | + it "has the word 'dark' when the cookie is set" do | |
| 79 | 79 | set_cookie('dark=1') |
| 80 | 80 | get '/manifest.appcache' |
| 81 | 81 | assert_includes last_response.body, '# dark' |
| 82 | − refute_includes last_response.body, '# light' | |
| 82 | + refute_includes last_response.body, '# default' | |
| 83 | 83 | end |
| 84 | 84 | |
| 85 | 85 | it "sets default size" do |