Sha256: 22c80b15aff58813b8906e8ed0c43ad844d21e19b855ee627c1b83ddf73cbac2

Contents?: true

Size: 990 Bytes

Versions: 22

Compression:

Stored size: 990 Bytes

Contents

When /I open a directory/ do
  Redcar::Project::DirectoryOpenCommand.new.run
end

When /I close the directory/ do
  Redcar::Project::Manager.focussed_project.close
end

When /^I refresh the directory tree$/ do
  Redcar::Project::Manager.focussed_project.refresh
end

When /^I move the myproject fixture away$/ do
  FileUtils.mv("plugins/project/spec/fixtures/myproject",
               "plugins/project/spec/fixtures/myproject.bak")
  @put_myproject_fixture_back = true
end

When /^I open a "([^"]*)" as a subproject of the current directory$/ do |arg1|
  path = Redcar::Project::Manager.focussed_project.path
  Redcar::Project::Manager.open_subproject(path,path + arg1)
end

Then /^"([^"]*)" in the project configuration files$/ do |arg1|
  project = Redcar::Project::Manager.focussed_project
  project.config_files(arg1).each do |file|
    File.exist?(file).should == true
  end
end

When /^"([^"]*)" goes missing$/ do |arg1|
  FileUtils.rm(arg1)
  File.exists?(arg1).should == false
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
redcar-dev-0.12.17dev plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.16dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.15dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.14dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.13dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.12dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.11dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.10dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.9dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.8dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.7dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.6dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.4dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.3dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.1dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-dev-0.12.0dev-java plugins/project/features/step_definitions/directory_steps.rb
redcar-0.11 plugins/project/features/step_definitions/directory_steps.rb
redcar-0.11.0dev plugins/project/features/step_definitions/directory_steps.rb
redcar-0.10 plugins/project/features/step_definitions/directory_steps.rb
redcar-0.9.2 plugins/project/features/step_definitions/directory_steps.rb