Zach Dennis wrote:
response.body.should be_xml_with do form :action => '/users' do fieldset do legend "Personal Information" label "First name" input :type => 'text', :name => 'user[first_name]' end end end
I like this a lot.
Then it should be ".should be_html_with"... ...and the diagnostics should be as comprehensive & detailed as mine! _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users