spec/support/associations/proxies.rb in ripple-0.7.0 vs spec/support/associations/proxies.rb in ripple-0.7.1

- old
+ new

@@ -1,16 +1,16 @@ # yet another filch from mongo mapper -class FakeNilProxy < Ripple::Document::Associations::Proxy +class FakeNilProxy < Ripple::Associations::Proxy def find_target; nil end end -class FakeBlankProxy < Ripple::Document::Associations::Proxy +class FakeBlankProxy < Ripple::Associations::Proxy def find_target; '' end end -class FakeNumberProxy < Ripple::Document::Associations::Proxy +class FakeNumberProxy < Ripple::Associations::Proxy def find_target; 17 end end -class FakeProxy < Ripple::Document::Associations::Proxy +class FakeProxy < Ripple::Associations::Proxy def find_target; [1, 2] end end