class TestActException
Public Instance Methods
test_all()
click to toggle source
# File vendor/qwik/lib/qwik/common-backtrace.rb, line 73 def test_all t_add_user # test_backtrace page = @site.create_new page.store('{{nosuch}}') res = session('/test/1.html') ok_in [:span, {:class=>"plg_error"}, "nosuch plugin | ", [:strong, "nosuch"]], '//div[@class="section"]' eq [:div, {:class=>"section"}, [[:span, {:class=>"plg_error"}, "nosuch plugin | ", [:strong, "nosuch"]]]], @res.body.get_path('//div[@class="section"]') t_without_testmode { page.store '{{_qwik_test_for_raise_exception}}' res = session '/test/1.html' assert_text(/\Aundefined local variable or method `no_such_local_variable' for #<Qwik::Action:/, 'h3') } end