Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 9b8c59e

Browse files
committed
Update spec to use short url
1 parent f28d132 commit 9b8c59e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/requests/pages_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
post pages_path, page: page_params.merge(liquid_layout_id: liquid_layout.id)
1313
}.to change{ Page.count }.by 1
1414
page = Page.last
15-
expect(PageFollower.new_from_page(page).follow_up_path).to eq "/pages/#{page.slug}/follow-up"
15+
expect(PageFollower.new_from_page(page).follow_up_path).to eq "/a/#{page.slug}/follow-up"
1616
end
1717

1818
it 'has a blank follow-up url if liquid layout has no default follow-up url' do

0 commit comments

Comments
 (0)