Sha256: 2f4442b9b7d6915de9fe1fe2a0581a7eac67e2d86aba04f4f0267eb29bfdebdf
Contents?: true
Size: 920 Bytes
Versions: 19
Compression:
Stored size: 920 Bytes
Contents
Given /^I will open "([^"]*)" branch as a new project$/ do |branch_name| Swt.sync_exec do path = parse_branch_path(branch_name) if path Redcar.gui.dialog_adapter.set(:open_directory, path) @svn_module = Redcar::Scm::Subversion::Manager.new @svn_module.load(path) end end end When /^I switch to "([^"]*)" branch$/ do |branch_name| Swt.sync_exec do path = parse_branch_path(branch_name) Redcar.gui.dialog_adapter.set(:open_directory, path) if path svn_module.switch!(branch_name) svn_module.repository?(path).should == true end end When /^I merge the "([^"]*)" branch$/ do |branch_name| path = parse_branch_path(branch_name) svn_module.merge!(branch_name) end Then /^I should see "([^"]*)" in "([^"]*)" branch$/ do |files, branch_name| path = parse_branch_path(branch_name) files.split(",").each {|f| File.exist?(path + "/#{f}").should == true } end
Version data entries
19 entries across 19 versions & 2 rubygems