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