Sha256: 9a0c9f0fd4ada21f540d4a9d6393bb510a12a02f1104f8ea2f614167226f096c

Contents?: true

Size: 449 Bytes

Versions: 14

Compression:

Stored size: 449 Bytes

Contents

module MiniTest
  class Unit
    class TestCase
    
    def teardown
      Object.send(:remove_const, 'Canard') if Object.const_defined?('Canard')
      GC.start
    end
    
    def setup
      [ 'canard/abilities.rb',
        'canard/user_model.rb',
        "canard/find_abilities.rb"
      ].each do |file|
        file_path = File.join(File.expand_path('../../../lib', __FILE__), file)
        load file_path
      end
    end
  end

  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
canard-0.5.0.pre test/support/reloadable.rb
canard-0.4.3 test/support/reloadable.rb
canard-0.4.2.pre test/support/reloadable.rb
canard-0.4.1 test/support/reloadable.rb
canard-0.4.0 test/support/reloadable.rb
canard-0.4.0.pre test/support/reloadable.rb
canard-0.3.7 test/support/reloadable.rb
canard-0.3.6 test/support/reloadable.rb
canard-0.3.5 test/support/reloadable.rb
canard-0.3.4 test/support/reloadable.rb
canard-0.3.2 test/support/reloadable.rb
canard-0.3.1 test/support/reloadable.rb
canard-0.2.7 test/support/reloadable.rb
canard-0.2.5 test/support/reloadable.rb