features/support/env.rb in middleman-geo_pattern-0.0.1 vs features/support/env.rb in middleman-geo_pattern-0.0.3

- old
+ new

@@ -1,9 +1,14 @@ PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__))) # Pull in all of the gems including those in the `test` group require 'bundler' -Bundler.require :default, :test, :development, :debug +groups = if ENV.key? 'CI' + [:default, :test, :development] + else + [:default, :test, :development, :debug] + end +Bundler.require(*groups) require 'simplecov' SimpleCov.command_name 'cucumber' SimpleCov.start