Sha256: d2f0e127ba5fafd8f2bab904b5dc0f3a21540990a52878ab99c416ee4c3b1f0d

Contents?: true

Size: 856 Bytes

Versions: 35

Compression:

Stored size: 856 Bytes

Contents

module DrbShelloutHelper
  def self.drb_system_thread
    $drb_system_thread
  end

  def self.drb_system_thread= value
    $drb_system_thread = value
  end

  def self.kill_thread
    if !($drb_system_thread.nil?) and $drb_system_thread.status
      $drb_system_thread.kill
    end
  end
end

require File.dirname(__FILE__) + "/../../spec/fixture_helper"

def filter_storage
  Redcar::Project::FindFileDialog.storage
end

Before("@project-fixtures") do
  ProjectFixtureHelper.create_project_fixtures
  ProjectFixtureHelper.make_subproject_fixtures
  @original_file_size_limit = Redcar::Project::Manager.file_size_limit
end

After("@project-fixtures") do
  Redcar::Project::Manager.reveal_files = true
  ProjectFixtureHelper.clear_project_fixtures
  DrbShelloutHelper.kill_thread
  Redcar::Project::Manager.file_size_limit = @original_file_size_limit
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
redcar-0.13 plugins/project/features/support/env.rb
redcar-dev-0.13.5dev plugins/project/features/support/env.rb
redcar-dev-0.13.4dev plugins/project/features/support/env.rb
redcar-dev-0.13.3dev plugins/project/features/support/env.rb
redcar-dev-0.13.2dev plugins/project/features/support/env.rb
redcar-dev-0.13.1dev plugins/project/features/support/env.rb
redcar-0.12.1 plugins/project/features/support/env.rb
redcar-dev-0.13.0dev plugins/project/features/support/env.rb
redcar-0.12 plugins/project/features/support/env.rb
redcar-dev-0.12.27dev plugins/project/features/support/env.rb
redcar-dev-0.12.26dev plugins/project/features/support/env.rb
redcar-dev-0.12.25dev plugins/project/features/support/env.rb
redcar-dev-0.12.24dev plugins/project/features/support/env.rb
redcar-dev-0.12.23dev plugins/project/features/support/env.rb
redcar-dev-0.12.22dev plugins/project/features/support/env.rb
redcar-dev-0.12.21dev plugins/project/features/support/env.rb
redcar-dev-0.12.20dev plugins/project/features/support/env.rb
redcar-dev-0.12.19dev plugins/project/features/support/env.rb
redcar-dev-0.12.18dev plugins/project/features/support/env.rb
redcar-dev-0.12.17dev plugins/project/features/support/env.rb