Sha256: 77d3b83f7568075d765f13157e5ae02c6f5e089a24220411d072038b474fc150
Contents?: true
Size: 1013 Bytes
Versions: 3
Compression:
Stored size: 1013 Bytes
Contents
$:.unshift(File.dirname(__FILE__) + '/../../lib') require 'rubygems' require 'bundler/setup' require 'rspec/expectations' require 'aruba/cucumber' Before do @aruba_timeout_seconds = 120 # A long time needed some times unset_bundler_env_vars end if(ENV['ARUBA_REPORT_DIR']) # Override reporting behaviour so we don't document all files, only the ones # that have been created after @aruba_report_start (a Time object). This is # given a value after the Rails app is generated (see cucumber_rails_steps.rb) module Aruba module Reporting def children(dir) children = Dir["#{dir}/*"].sort # include children = children.select do |child| File.directory?(child) || (@aruba_report_start && File.stat(child).mtime > @aruba_report_start) end # exclude children = children.reject do |child| child =~ /Gemfile/ || child =~ /\.log$/ end children end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cucumber-rails-1.1.1 | features/support/env.rb |
cucumber-rails-1.1.0 | features/support/env.rb |
cucumber-rails-1.0.6 | features/support/env.rb |