mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-15 00:36:33 +01:00
Removed superfluous 'tracks' directory at the root of the repository.
Testing commits to github.
This commit is contained in:
parent
6a42901514
commit
4cbf5a34d3
2269 changed files with 0 additions and 0 deletions
28
vendor/plugins/arts/README
vendored
Normal file
28
vendor/plugins/arts/README
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
ARTS is Another RJS Test System
|
||||
|
||||
For a complete tutorial, see http://glu.ttono.us/articles/2006/05/29/guide-test-driven-rjs-with-arts.
|
||||
|
||||
Usage:
|
||||
assert_rjs :alert, 'Hi!'
|
||||
assert_rjs :assign, 'a', '2'
|
||||
assert_rjs :call, 'foo', 'bar', 'baz'
|
||||
assert_rjs :draggable, 'draggable_item'
|
||||
assert_rjs :drop_receiving, 'receiving_item'
|
||||
assert_rjs :hide, "post_1", "post_2", "post_3"
|
||||
assert_rjs :insert_html, :bottom, 'posts'
|
||||
assert_rjs :redirect_to, :action => 'list'
|
||||
assert_rjs :remove, "post_1", "post_2", "post_3"
|
||||
assert_rjs :replace, 'completely_replaced_div'
|
||||
assert_rjs :replace, 'completely_replaced_div', '<p>This replaced the div</p>'
|
||||
assert_rjs :replace, 'completely_replaced_div', /replaced the div/
|
||||
assert_rjs :replace_html, 'replaceable_div', "This goes inside the div"
|
||||
assert_rjs :show, "post_1", "post_2", "post_3"
|
||||
assert_rjs :sortable, 'sortable_item'
|
||||
assert_rjs :toggle, "post_1", "post_2", "post_3"
|
||||
assert_rjs :visual_effect, :highlight, "posts", :duration => '1.0'
|
||||
|
||||
For the square bracket syntax (page['some_id'].toggle) use :page followed by the id and then subsequent method calls. Assignment requires a '=' at the end of the method name followed by the value.
|
||||
|
||||
assert_rjs :page, 'some_id', :toggle
|
||||
assert_rjs :page, 'some_id', :style, :color=, 'red'
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue