class TestActHistory
Public Instance Methods
test_act_history()
click to toggle source
# File vendor/qwik/lib/qwik/act-history.rb, line 118 def test_act_history t_add_user ok_wi [:span, {:class=>'attribute'}, [:a, {:href=>'1.history'}, 'Show history']], '{{show_history}}' page = @site['1'] page.store('* t1') # store the first page.store('* t2') # store the second res = session '/test/1.html' ok_in ['t2'], '//title' res = session '/test/1.history' # ok_in ['Time machine | 1'], '//title' end