Sha256: a5ede6342ed51e355a01f7cf4e7fb99dccd8dd4232209e48ce63ef5e983f68f7

Contents?: true

Size: 590 Bytes

Versions: 8

Compression:

Stored size: 590 Bytes

Contents

=begin
  you have to load this file from your projects' environment.rb, which
  will use common functionality:
  WatiRspec::Util.load_common

  add all your require statements into this file to avoid unnecessary
  code in your other projects' files

  by default everything, which is not a spec file, will be loaded
=end

local_dir = File.join(File.dirname(__FILE__), "**/*.rb")
filtered_ruby_files = Dir.glob(local_dir).delete_if do |file|
  File.directory?(file) || File.basename(file) =~ /(config|_spec)\.rb$/
end
require_all filtered_ruby_files
require_rel "config.rb"

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
watirspec-0.1.9.1 templates/common/environment.rb
watirspec-0.1.8 templates/common/environment.rb
watirspec-0.1.7 templates/common/environment.rb
watirspec-0.1.6 templates/common/environment.rb
watirspec-0.1.5 templates/common/environment.rb
watirspec-0.1.4 templates/common/environment.rb
watirspec-0.1.3 templates/common/environment.rb
watirspec-0.1.2 templates/common/environment.rb