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

Commit

Permalink
Update spec to use short url
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuuleh committed Feb 23, 2016
1 parent f28d132 commit 9b8c59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
post pages_path, page: page_params.merge(liquid_layout_id: liquid_layout.id)
}.to change{ Page.count }.by 1
page = Page.last
expect(PageFollower.new_from_page(page).follow_up_path).to eq "/pages/#{page.slug}/follow-up"
expect(PageFollower.new_from_page(page).follow_up_path).to eq "/a/#{page.slug}/follow-up"
end

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

0 comments on commit 9b8c59e

Please sign in to comment.