test/resource_test.rb in loquor-1.4.0 vs test/resource_test.rb in loquor-1.5.0
- old
+ new
@@ -21,10 +21,10 @@
assert foobar.respond_to?(:foo)
end
def test_find_should_get_correct_path_with_simple_path
id = 8
- Loquor.expects(:get).with("/foobar/#{id}")
+ Loquor.expects(:get).with("/foobar/#{id}", {cache: nil})
Foobar.find(id)
end
def test_find_each_should_get_correct_path
Loquor.expects(:get).with("/foobar?&page=1&per=200").returns([])