File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ class Hello
182
182
end
183
183
184
184
def test_code_statistics
185
- assert_match "Code LOC: 61 Test LOC: 3 Code to Test Ratio: 1:0.0" ,
185
+ assert_match "Code LOC: 62 Test LOC: 3 Code to Test Ratio: 1:0.0" ,
186
186
rails ( "stats" )
187
187
end
188
188
Original file line number Diff line number Diff line change @@ -551,6 +551,14 @@ def test_does_not_generate_system_test_files_if_skip_system_test_is_given
551
551
end
552
552
end
553
553
554
+ def test_viewport_meta_tag_is_present
555
+ run_generator [ destination_root ]
556
+
557
+ assert_file "app/views/layouts/application.html.erb" do |contents |
558
+ assert_match ( /<meta name="viewport"/ , contents )
559
+ end
560
+ end
561
+
554
562
def test_javascript_is_skipped_if_required
555
563
run_generator [ destination_root , "--skip-javascript" ]
556
564
You can’t perform that action at this time.
0 commit comments