features/support/env.rb in pinpress-1.2.2 vs features/support/env.rb in pinpress-1.2.3
- old
+ new
@@ -1,13 +1,11 @@
-require 'simplecov'
require 'aruba/cucumber'
-require 'cucumber/rspec/doubles'
+require_relative '../../lib/pinpress/constants'
ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
LIB_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','lib')
Before do
- # Using "announce" causes massive warnings on 1.9.2
@puts = true
@original_rubylib = ENV['RUBYLIB']
ENV['RUBYLIB'] = LIB_DIR + File::PATH_SEPARATOR + ENV['RUBYLIB'].to_s
@original_home = ENV['HOME']
ENV['HOME'] = "/tmp/pp"