Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
I can use id directly.
  • Loading branch information
ugisozols committed May 28, 2012
1 parent 968c5c7 commit 5f37501
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pages/spec/models/refinery/page_spec.rb
Expand Up @@ -519,9 +519,7 @@ def turn_on_marketable_urls

context "when path is not friendly_id" do
it "finds page using id" do
path = id

Refinery::Page.find_by_path_or_id(path, "").should eq(market)
Refinery::Page.find_by_path_or_id(id, "").should eq(market)
end
end
end
Expand Down

0 comments on commit 5f37501

Please sign in to comment.