Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # features/support/step_matcher.rb
- require 'webrat'
- require 'webrat/core/matchers'
- require 'cucumber/webrat/element_locator' # Deprecated in favor of #tableish - remove this line if you don't use #element_at or #table_at
- # webrat configuration
- # note if you need to run different webrat confurations, put them in seperate file and include them using -r, # either with a profile or from the command prompt
- Webrat.configure do |config|
- config.mode = :rails
- config.open_error_files = false # Set to true if you want error pages to pop up in the browser
- end
Add Comment
Please, Sign In to add comment