Sha256: 9d44e1346569c7a97fe7a35a23e5aa4ac7236a5b4469010670810bc3d649b33a

Contents?: true

Size: 448 Bytes

Versions: 5

Compression:

Stored size: 448 Bytes

Contents

#encoding: utf-8
require File.expand_path 'app/cases/spec_helper'

describe 'Google example show you how to use lazyman', :google do

	before :all do
		@keyword = 'watir-webdriver'
	end

	it 'should have correct search result' do
		google_page = $navi.goto_google_page
		result_page = google_page.search_for @keyword
		result_page.first_result.should eq 'Watir WebDriver | the most elegant way to use webdriver with ruby'
	end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lazyman-0.1.13 lib/lazyman/generators/lazyman/app/cases/baidu_and_google/google_example_spec.rb
lazyman-0.1.12 lib/lazyman/generators/lazyman/app/cases/baidu_and_google/google_example_spec.rb
lazyman-0.1.11 lib/lazyman/generators/lazyman/app/cases/baidu_and_google/google_example_spec.rb
lazyman-0.1.6 lib/lazyman/generators/lazyman/app/cases/examples/google_example_spec.rb
lazyman-0.1.5 lib/lazyman/generators/lazyman/app/cases/examples/google_example_spec.rb