unittests/windows/modal_dialog_test.rb in watir-3.0.0.rc2 vs unittests/windows/modal_dialog_test.rb in watir-3.0.0.rc3

- old
+ new

@@ -23,20 +23,20 @@ end def test_modal_simple_use_case browser.button(:value, 'Launch Dialog').click_no_wait - modal = browser.modal_dialog(:title, 'Modal Dialog') + modal = browser.modal_dialog assert(modal.text.include?('Enter some text:')) modal.text_field(:name, 'modal_text').set('hello') modal.button(:value, 'Close').click assert_equal('hello', browser.text_field(:name, 'modaloutput').value) end def test_wait_should_not_block browser.button(:value, 'Launch Dialog').click_no_wait - modal = browser.modal_dialog(:title, 'Modal Dialog') + modal = browser.modal_dialog modal.text_field(:name, 'modal_text').set('hello') modal.wait modal.button(:value, 'Close').click