Guest User

Untitled

a guest
Feb 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # Sets up the Rails environment for Cucumber
  2. ENV["RAILS_ENV"] = "test"
  3. require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
  4. require 'cucumber/rails/world'
  5. Cucumber::Rails.use_transactional_fixtures
  6.  
  7. # Comment out the next line if you're not using RSpec's matchers (should / should_not) in your steps.
  8. require 'cucumber/rails/rspec'
  9. require 'webrat'
  10. require 'factories'
Add Comment
Please, Sign In to add comment