public
Fork of rails/rails
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/JackDanger/rails.git
Make sure assert_select_rjs gets counted,  Closes #10278 [tarmo]


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8237 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
NZKoz (author)
Wed Nov 28 18:49:11 -0800 2007
commit  fd3f048f6dda74193644e2bbb23044e64df84449
tree    ca11889a6d97c3dfad4c7e063341d1414e7429b3
parent  e302759451fbed36d7e8916d7b5c8377762e3efd
...
439
440
441
 
442
443
444
...
603
604
605
606
607
 
...
439
440
441
442
443
444
445
...
604
605
606
 
607
608
0
@@ -439,6 +439,7 @@ module ActionController
0
         end
0
 
0
         if matches
0
+ assert_block("") { true } # to count the assertion
0
           if block_given? && !([:remove, :show, :hide, :toggle].include? rjs_type)
0
             begin
0
               in_scope, @selected = @selected, matches
0
@@ -603,4 +604,4 @@ module ActionController
0
         end
0
     end
0
   end
0
-end
0
\ No newline at end of file
0
+end

Comments

    No one has commented yet.