This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
kevinc (author)
Mon Jan 29 00:22:27 -0800 2007
commit 305478855d1a9b2158feb5dc26bbf123bd00cadc
tree bc3bb02f6408bd2bdaff11dcb0eec4d49830de6f
parent c6325ec227e44700051385250d43448ccdcdbf7f
tree bc3bb02f6408bd2bdaff11dcb0eec4d49830de6f
parent c6325ec227e44700051385250d43448ccdcdbf7f
arts /
| name | age | message | |
|---|---|---|---|
| |
README | Fri Sep 15 18:53:15 -0700 2006 | [kevinc] |
| |
about.yml | Mon Jan 29 00:22:27 -0800 2007 | [kevinc] |
| |
init.rb | Thu Jul 06 11:06:36 -0700 2006 | [kevinc] |
| |
install.rb | Sun May 28 12:20:00 -0700 2006 | [kevinc] |
| |
lib/ | Mon Jan 29 00:22:27 -0800 2007 | [kevinc] |
| |
test/ | Fri Sep 15 18:53:15 -0700 2006 | [kevinc] |
README
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'




