Added Rspec and Webrat plugins and started porting Selenium on Rails tests to Rspec Plain Text Stories driving Webrat driving Selenium.

This commit is contained in:
Luke Melia 2008-06-18 02:57:57 -04:00
parent 0600756bbf
commit 0f7d6f7a1d
602 changed files with 47788 additions and 29 deletions

View file

@ -0,0 +1 @@
<div>This is action_with_template.rhtml</div>

View file

@ -0,0 +1 @@
# This is used for rails > 1.2.3

View file

@ -0,0 +1 @@
# This is used for rails <= 1.2.3

View file

@ -0,0 +1 @@
This is the text in the replacement partial.

View file

@ -0,0 +1 @@
page.hide 'mydiv'

View file

@ -0,0 +1 @@
page['mydiv'].hide

View file

@ -0,0 +1 @@
page.insert_html 'mydiv', 'replacement text'

View file

@ -0,0 +1 @@
page.replace 'mydiv', 'replacement text'

View file

@ -0,0 +1 @@
page.replace_html 'mydiv', 'replacement text'

View file

@ -0,0 +1 @@
page.replace_html 'mydiv', :partial => 'rjs_spec/replacement_partial'

View file

@ -0,0 +1 @@
page.visual_effect :fade, 'mydiv'

View file

@ -0,0 +1 @@
page.visual_effect :toggle_blind, 'mydiv'

View file

@ -0,0 +1 @@
<!-THIS FILE HAS NO TAGS->

View file

@ -0,0 +1 @@
<div key="value"></div>

View file

@ -0,0 +1,2 @@
<%= method_in_plugin_application_helper %>
<%= method_in_partial %>

View file

@ -0,0 +1 @@
<div><%= x %></div>

View file

@ -0,0 +1 @@
<%= render :partial => 'partial', :object => partial %>

View file

@ -0,0 +1 @@
<hr id="spacer" />

View file

@ -0,0 +1,5 @@
<div id="session"><%= session[:key] %></div>
<div id="params"><%= params[:key] %></div>
<div id="flash"><%= flash[:key] %></div>
<div id="controller"><%= params[:controller] %></div>
<div id="action"><%= params[:action] %></div>

View file

@ -0,0 +1,2 @@
<% form_tag do %>
<% end %>

View file

@ -0,0 +1,2 @@
<%= method_in_plugin_application_helper %>
<%= method_in_explicit_helper %>

View file

@ -0,0 +1 @@
<%= method_in_plugin_application_helper %>

View file

@ -0,0 +1,2 @@
<%= method_in_plugin_application_helper %>
<%= method_in_helper %>

View file

@ -0,0 +1,3 @@
<%= method_in_plugin_application_helper %>
<%= method_in_explicit_helper %>
<%= method_in_more_explicit_helper %>

View file

@ -0,0 +1,5 @@
<%= method_in_template_with_partial %>
<%= render :partial => 'partial' %>
<%= render :partial => 'partial_used_twice' %>
<%= render :partial => 'partial_used_twice' %>

View file

@ -0,0 +1,3 @@
<%= render :partial => 'partial',
:collection => ['Alice', 'Bob'],
:spacer_template => 'spacer' %>

View file

@ -0,0 +1 @@
<%= render :partial => @array %>