Displaying 1 result from an estimated 1 matches for "action_to_set_value".
2006 Mar 25
0
in_place_collection_editor
...e.com/"
@@ -91,4 +103,30 @@
:load_text_url => { :action => "action_to_get_value" })
end
+ def test_in_place_collection_editor_with_simple_array
+ assert_match "Ajax.InPlaceCollectionEditor(''id-goes-here'', ''http://www.example.com/action_to_set_value'', {collection:[''1'',''2'',''3'']})",
+ in_place_collection_editor(''id-goes-here'',
+ :url => { :action => "action_to_set_value" },
+ :collection => [1,2,3]
+ )
+ end
+
+ def test_i...