Sha256: 83600649d68c75b74f922781359af54cc227b6f1f634d8ef8c452e78a54f9191
Contents?: true
Size: 890 Bytes
Versions: 4
Compression:
Stored size: 890 Bytes
Contents
$:.unshift(File.dirname(__FILE__) + '/../../lib') require 'rubygems' require 'bundler/setup' require 'rspec/expectations' require 'aruba/cucumber' 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cucumber-rails-1.5.0 | features/support/env.rb |
cucumber-rails-1.4.5 | features/support/env.rb |
cucumber-rails-1.4.4 | features/support/env.rb |
cucumber-rails-1.4.3 | features/support/env.rb |