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