rails_generators/cucumber/templates/spork_env.rb in aslakhellesoy-cucumber-0.3.94 vs rails_generators/cucumber/templates/spork_env.rb in aslakhellesoy-cucumber-0.3.94.1
- old
+ new
@@ -5,10 +5,10 @@
# Sets up the Rails environment for Cucumber
ENV["RAILS_ENV"] = "cucumber"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'webrat'
- require 'cucumber/webrat/table_locator' # Lets you do table.diff!(table_at('#my_table').to_a)
+ require 'cucumber/webrat/element_locator' # Lets you do table.diff!(element_at('#my_table_or_dl_or_ul_or_ol').to_table)
Webrat.configure do |config|
config.mode = :rails
end
\ No newline at end of file