spec/apps/rhotestapp/sources/simple_adapter.rb in rhosync-2.0.0.beta1 vs spec/apps/rhotestapp/sources/simple_adapter.rb in rhosync-2.0.0.beta2

- old
+ new

@@ -14,13 +14,14 @@ def query(params=nil) @result end def search(params=nil,txt='') - params[:foo] = 'bar' + params[:foo] = 'bar' # this is for 'chaining' test if params['search'] == 'bar' @result = {'obj'=>{'foo'=>'bar'}} - params['name'] = 'iPhone' + # this is for 'chaining' test, addind 'iPhone' to trogger Sample adapter search result + params['name'] = 'iPhone' end @result end def sync \ No newline at end of file