test/resource_test.rb in loquor-0.5.3 vs test/resource_test.rb in loquor-0.5.4

- old
+ new

@@ -41,7 +41,15 @@ id = 8 payload = {bar: 'foo'} Loquor.expects(:put).with("/foobar/#{id}", payload: payload) Foobar.update(id, payload) end + + def test_can_read_path + assert_equal "/foobar", Foobar.path + end + + def test_cache_flag_false_by_default + refute Foobar.cache + end end end