Sha256: 67095365dd30fb365051c4745c07182112f917190b68ca7ba69e11173f3a3071

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

require 'test_helper'
class TestHarness
  class Given
    include TestHarness::TestHelper

    Dir.glob(Rails.root.join(TestHarness.autoload_path, 'given/*.rb')).each do |file|
      component =  File.basename(file, '.rb')
      require "given/#{component}"
      klass = ("TestHarness::Given::%s" % File.basename(file, '.rb').camelize).constantize
      include klass
    end
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test-harness-0.4.2 lib/given.rb