Sha256: 7800b7b89817b251ca081cab3f023cb15addab9eb2b59b38af847981d179b496

Contents?: true

Size: 229 Bytes

Versions: 9

Compression:

Stored size: 229 Bytes

Contents

module DeleteFakeWorkingDirHooks
  def teardown
    super
    Landrush::Server.working_dir.rmtree if Landrush::Server.working_dir.directory?
  end
end

module MiniTest
  class Spec
    include DeleteFakeWorkingDirHooks
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
landrush-1.2.0 test/support/delete_fake_working_dir.rb
landrush-1.1.2 test/support/delete_fake_working_dir.rb
landrush-1.1.1 test/support/delete_fake_working_dir.rb
landrush-1.1.0 test/support/delete_fake_working_dir.rb
landrush-1.1.0.beta.4 test/support/delete_fake_working_dir.rb
landrush-1.1.0.beta.3 test/support/delete_fake_working_dir.rb
landrush-1.1.0.beta.2 test/support/delete_fake_working_dir.rb
landrush-1.1.0.beta.1 test/support/delete_fake_working_dir.rb
landrush-1.0.0 test/support/delete_fake_working_dir.rb