Sha256: 07a386831008ea0ddd20c2a2051b99e52647f29796e786676f37bd85ddfc949f
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
require 'spec_helper' describe 'menus' do Given(:main_form) { start_app } context 'by text' do When { main_form.menu_item_by_text } Then { on(About).active? } end context 'by path' do When { main_form.menu_item_by_path } Then { on(About).active? } end context '#click_menu_item' do When { main_form.click_menu_item_by_path } Then { on(About).active? } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mohawk-0.4 | spec/lib/mohawk/menu_spec.rb |
mohawk-0.3 | spec/lib/mohawk/menu_spec.rb |