<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -38,7 +38,9 @@ Features
   * `click 'the_button_id', :wait_for =&gt; :element, :element =&gt; 'new_element_id'`
   * `click 'the_button_id', :wait_for =&gt; :no_element, :element =&gt; 'disappearing_element_id'`
   * `click 'the_button_id', :wait_for =&gt; :text, :text =&gt; 'New Text'`
+  * `click 'the_button_id', :wait_for =&gt; :text, :element =&gt; 'notification_box', :text =&gt; 'New Text'`
   * `click 'the_button_id', :wait_for =&gt; :no_text, :text =&gt; 'Disappearing Text'`
+  * `click 'the_button_id', :wait_for =&gt; :no_text, :element =&gt; 'notification_box', :text =&gt; 'Disappearing Text'`
   * `click 'the_button_id', :wait_for =&gt; :effects`
   * `click 'the_button_id', :wait_for =&gt; :condition, :javascript =&gt; &quot;some arbitrary javascript expression&quot;`
 </diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -60,7 +60,9 @@ module Selenium
         end
 
         def example_hash(example)
-          Digest::MD5.hexdigest example.backtrace.first
+          # backtrace is not reliable anymore using the implementation proc          
+          implementation = example.instance_variable_get :'@_implementation'
+          Digest::MD5.hexdigest implementation.inspect
         end
       
       end</diff>
      <filename>lib/selenium/rspec/reporting/file_path_strategy.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,19 +14,25 @@ unit_tests do
     assert_equal File.expand_path(&quot;/another/dir&quot;), second_strategy.base_report_dir
   end
   
-  test &quot;example_hash is distinct when examples first backtrace entry is different&quot; do
+  test &quot;example_hash is distinct when examples implementation is different&quot; do
     strategy = Selenium::RSpec::Reporting::FilePathStrategy.new &quot;report.html&quot;
   
-    first_example = stub('example',:backtrace =&gt; [ &quot;a&quot;, &quot;c&quot; ])
-    second_example = stub('example',:backtrace =&gt; [ &quot;b&quot;, &quot;c&quot; ])
+    first_example = Object.new
+    first_example.instance_variable_set :'@_implementation', Proc.new {}
+    second_example = Object.new
+    second_example.instance_variable_set :'@_implementation', Proc.new {}
+
     assert strategy.example_hash(first_example) != strategy.example_hash(second_example)
   end
   
-  test &quot;example_hash is the same when examples first backtrace entry is identical&quot; do
+  test &quot;example_hash is the same when examples implementation is identical&quot; do
     strategy = Selenium::RSpec::Reporting::FilePathStrategy.new &quot;report.html&quot;
-  
-    first_example = stub('example',:backtrace =&gt; [ &quot;a&quot;, &quot;b&quot; ])
-    second_example = stub('example',:backtrace =&gt; [ &quot;a&quot;, &quot;c&quot; ])
+
+    same_implementation = Proc.new {}  
+    first_example = Object.new
+    first_example.instance_variable_set :'@_implementation', same_implementation
+    second_example = Object.new
+    second_example.instance_variable_set :'@_implementation', same_implementation
     assert_equal strategy.example_hash(first_example), 
                  strategy.example_hash(second_example)
   end</diff>
      <filename>test/unit/selenium/rspec/reporting/file_path_strategy_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d351fc94dc35d6d244d27036d1d812dec78e00a8</id>
    </parent>
  </parents>
  <author>
    <name>Philippe Hanrigou</name>
    <email>philippe.hanrigou@gmail.com</email>
  </author>
  <url>http://github.com/ph7/selenium-client/commit/d1cde31cb7ae677a116869d2bb32ddf835375b77</url>
  <id>d1cde31cb7ae677a116869d2bb32ddf835375b77</id>
  <committed-date>2009-02-02T20:41:28-08:00</committed-date>
  <authored-date>2009-02-02T20:41:28-08:00</authored-date>
  <message>Fixing collision in example unique ids (RSpec reports)</message>
  <tree>0a05d9fd61e8ccebc1f909f13bb338044f6c107c</tree>
  <committer>
    <name>Philippe Hanrigou</name>
    <email>philippe.hanrigou@gmail.com</email>
  </committer>
</commit>
