Sha256: 1ea26b66578845915d436eec8e4e7390d724e8a7ce72102b9a1421da6d425528

Contents?: true

Size: 601 Bytes

Versions: 5

Compression:

Stored size: 601 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'
Cucumber::Rails.use_transactional_fixtures

require 'webrat'
require 'cucumber/rails/rspec'
require 'webrat/core/matchers'

Webrat.configure do |config|
  config.mode = :rails
end



require File.expand_path(File.dirname(__FILE__) + '../../../../../lib/email_spec')
require 'email_spec/cucumber'

require File.expand_path(File.dirname(__FILE__) +'/../../spec/model_factory.rb')
World { |world| world.extend(Fixjour) }


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bmabey-email_spec-0.0.10 examples/rails_root/features/support/env.rb
bmabey-email_spec-0.0.9 examples/rails_root/features/support/env.rb
bmabey-email_spec-0.1.0 examples/rails_root/features/support/env.rb
bmabey-email_spec-0.1.1 examples/rails_root/features/support/env.rb
bmabey-email_spec-0.1.2 examples/rails_root/features/support/env.rb