Browse files

removed failing resourece spec, since I'm moving it to a branch

  • Loading branch information...
1 parent 7930aed commit f5741be91777d4c5d7a7f491ea09bae8de7ea6f2 @nakajima committed Jan 31, 2009
Showing with 0 additions and 14 deletions.
  1. +0 −14 spec/resource_spec.rb
View
14 spec/resource_spec.rb
@@ -52,19 +52,5 @@
@resource.path('/:id', @comment).should == "/articles/#{@article.to_param}/comments/#{@comment.to_param}"
end
end
-
- context "when maker has multiple parents" do
- before(:each) do
- build_model(:replies) { integer :comment_id; belongs_to :comment }
- @reply = Reply.create! :comment => @comment
- @child = new_maker(Comment, :parent => new_maker(Article))
- @grand_child = new_maker(Reply, :parent => @child)
- @resource = Sinatra::Hat::Resource.new(@grand_child)
- end
-
- it "can return path for model object" do
- @resource.path('/:id', @reply).should == "/articles/#{@article.to_param}/comments/#{@comment.to_param}/replies/#{@reply.to_param}"
- end
- end
end
end

0 comments on commit f5741be

Please sign in to comment.