mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-27 11:14:31 -04:00
Match spec to page. h3 -> h5
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user