aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/cases/finder_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activeresource/test/cases/finder_test.rb')
-rw-r--r--activeresource/test/cases/finder_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activeresource/test/cases/finder_test.rb b/activeresource/test/cases/finder_test.rb
index 73030339a9..9c51f2a390 100644
--- a/activeresource/test/cases/finder_test.rb
+++ b/activeresource/test/cases/finder_test.rb
@@ -108,9 +108,9 @@ class FinderTest < Test::Unit::TestCase
end
def test_find_all_by_from_with_options
- ActiveResource::HttpMock.respond_to { |m| m.get "/companies/1/people.xml", {}, @people_david }
+ ActiveResource::HttpMock.respond_to { |m| m.get "/companies/1/people.json", {}, @people_david }
- people = Person.find(:all, :from => "/companies/1/people.xml")
+ people = Person.find(:all, :from => "/companies/1/people.json")
assert_equal 1, people.size
assert_equal "David", people.first.name
end