From ef43399ffd34ce36d2751676e8dcf4e5df7f911b Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 26 Jun 2019 11:12:09 +1200 Subject: [PATCH] Match spec to page. h3 -> h5 --- spec/views/posts/index.html.haml_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views/posts/index.html.haml_spec.rb b/spec/views/posts/index.html.haml_spec.rb index ee3d2fb86..9cbd147ee 100644 --- a/spec/views/posts/index.html.haml_spec.rb +++ b/spec/views/posts/index.html.haml_spec.rb @@ -19,7 +19,7 @@ describe "posts/index" do it "renders a list of posts" do assert_select "div.post", count: 2 - assert_select "h3", text: "A Post".to_s, count: 2 + assert_select "h5", text: "A Post".to_s, count: 2 assert_select "div.post-body", text: "This is some text.".to_s, count: 2 end