mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 02:12:46 +08:00
fix spec (#10069)
This commit is contained in:
parent
978aba632e
commit
75991a249e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user