Sha256: 1a66351c193e72c219468cf3c76fad073650fa54c6e750b3f2dc36a9777fcfb1
Contents?: true
Size: 918 Bytes
Versions: 4
Compression:
Stored size: 918 Bytes
Contents
# Sets up the Rails environment for Cucumber ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + '../../../../../../config/environment') require 'cucumber/rails/world' require 'cucumber/formatter/unicode' require 'webrat' Webrat.configure do |config| config.mode = :rails end # Comment out the next line if you're not using RSpec's matchers (should / should_not) in your steps. require 'cucumber/rails/rspec' require 'webrat/core/matchers' Cucumber::Rails::World.use_transactional_fixtures = true # Pickle require 'pickle/world' require 'pickle/path/world' require 'pickle/email/world' Pickle.configure do |c| c.map 'I', :to => 'user: "me"' c.map 'killah fork', :to => 'fancy fork: "of cornwood"' end # test app setup __APP__ = File.expand_path(File.join(File.dirname(__FILE__), '../app')) require "#{__APP__}/app" require "#{__APP__}/factories" require "#{__APP__}/blueprints"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pickle-0.1.22 | features/support/env.rb |
pickle-0.1.21 | features/support/env.rb |
pickle-0.1.20 | features/support/env.rb |
pickle-0.1.19 | features/support/env.rb |