This commit is contained in:
Joffrey JAFFEUX 2020-06-18 09:02:08 +02:00 committed by GitHub
parent 978aba632e
commit 75991a249e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,9 @@ RSpec.describe PublishedPagesController do
end
context "published page is public" do
fab!(:public_published_page) { Fabricate(:published_page, public: true) }
fab!(:public_published_page) {
Fabricate(:published_page, public: true, slug: "a-public-page")
}
it "returns 200 for a topic you can't see" do
get public_published_page.path