Guest User

Untitled

a guest
Apr 20th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. require File.dirname(__FILE__) + "/../../lib/test"
  2.  
  3. gem 'cucumber'
  4. require 'cucumber'
  5. gem 'rspec'
  6. require 'spec'
  7.  
  8. Before do
  9. @tmp_root = File.dirname(__FILE__) + "/../../tmp"
  10. @home_path = File.expand_path(File.join(@tmp_root, "home"))
  11. FileUtils.rm_rf @tmp_root
  12. FileUtils.mkdir_p @home_path
  13. ENV['HOME'] = @home_path
  14. end
Add Comment
Please, Sign In to add comment