Displaying 1 result from an estimated 1 matches for "mechanizesess".
2009 May 06
0
Cucumber, Webrat, RSpec and Mechanize for Non-Ruby Apps
....com"
When I fill in "q" with "apple"
And I press "Google Search"
Then I should see "www.apple.com"
#/cuketest/features/support/env.rb
#...
Webrat.configure do |config|
config.mode = :mechanize
end
#...
class MechanizeWorld < Webrat::MechanizeSession
require ''spec''
include Spec::Matchers
end
#...
#/cuketest/features/support/paths.rb
module NavigationHelpers
# Maps a name to a path. Used by the
#
# When /^I go to (.+)$/ do |page_name|
#
# step definition in webrat_steps.rb
#
def path_to(page_na...