I have seen it in 3.0.9 doc (
http://apidock.com/rails/v3.0.9/ActionDispatch/Assertions/SelectorAssertions/assert_select_rjs
)
but it's not mentioned in the latest guide (
http://guides.rubyonrails.org/testing.html#integration-testing-examples)

if deprecated how can I check the view from an Ajax call
( assert_match + gsub could work ? ... )
am I missing any doc ?

xhr :get, :change_area, { :area => south_west.id}

thanks for feedback

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Frederick Cheung at May 14, 2012 at 12:23 pm

    On May 13, 10:22 pm, Erwin wrote:
    I have seen it in 3.0.9 doc (http://apidock.com/rails/v3.0.9/ActionDispatch/Assertions/SelectorAss...
    )
    but it's not mentioned in the latest guide (http://guides.rubyonrails.org/testing.html#integration-testing-examples)
    All of rjs (including assert_select_rjs) was removed from rails 3.1
    and extracted into prototype-rails ( https://github.com/rails/prototype-rails/
    ) plugin

    Fred
    if deprecated how can I check the view from an Ajax call
    ( assert_match + gsub could work ? ... )
    am I missing any doc ?

    xhr :get, :change_area, { :area => south_west.id}

    thanks for feedback
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedMay 13, '12 at 9:22p
activeMay 14, '12 at 12:23p
posts2
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Frederick Cheung: 1 post Erwin: 1 post

People

Translate

site design / logo © 2022 Grokbase