spec/spec_helper.rb in pilha-0.1.3 vs spec/spec_helper.rb in pilha-0.1.5
- old
+ new
@@ -31,8 +31,12 @@
register(:url => 'badges/9/', :body => 'badges_by_id')
register(:url => 'badges/9/?pagesize=50', :body => 'badges_by_id_page2')
register(:url => 'badges/tags/', :body => 'badges_tag_based')
register(:url => 'answers/666/', :body => 'answers_by_id')
-register(:url => 'answers/555/?comments=true', :body => 'answer_with_comments')
+register(:url => 'answers/555/', :body => 'answer_with_comments')
register(:url => 'comments/1/', :body => 'comments')
register(:url => 'users/1/answers/', :body => 'users_answers')
+register(:url => 'questions/549/answers/', :body => 'answers_by_question_id')
+register(:url => 'questions/549/comments/', :body => 'comments_by_question_id')
+register(:url => 'users/555/', :body => 'users_by_id')
+register(:url => 'users/549/comments/', :body => 'comments_by_user_id')