Feature #807
update_indexed_attributes should return the new index for any added values
| Status: | Closed | Start: | 03/05/2010 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Refining ActiveFedora API | Spent time: | - | |
| Target version: | 1.0.9 | |||
| Sponsor: |
Description
n = FooHistory.new
n.datastreams["someData"].swank_values = ["my_val1","my_val2"]
result = n.update_indexed_attributes "swank"=>{"-1"=>"mork"}
result.should == {"swank"=>{"2"=>"mork"}}