class TestActMap
Constants
- TEST_MAP_CONTENT
Public Instance Methods
nutest_map()
click to toggle source
# File vendor/qwik/lib/qwik/act-map.rb, line 274 def nutest_map str = ' {{map(1, 2, 3, 400, 300) * StoreA ,4,5 - List1 - http://example.com/StoreA > CommentA * StoreB ,6,7 {{file(StoreB.jpg)}} - List2 - http://example.com/StoreB > CommentB }} ' end
test_all()
click to toggle source
# File vendor/qwik/lib/qwik/act-map.rb, line 254 def test_all t_add_user page = @site.create_new str = TEST_MAP_CONTENT page.store(str) res = session '/test/1.html' ok_title '1' w = res.body.get_path("//div[@class='maplink']") eq [:div, {:class=>'maplink'}, [:iframe, {:src=>'/.map?s=test&k=1', :style=>'width:700px;height:400px;border:0;'}, '']], w[0..2] res = session '/.map?s=test&k=1' ok_title 'map' w = res.body.get_path("//div[@class='maparea']") end