Sha256: 0491f92e78d08c5b0524d19f666ea87d9d437319e23bc0cda30cb54a297281f0

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

Given /^I have open a file$/ do
  Redcar::Project::FileOpenCommand.new.run
end

When /^I open a file$/ do
  Redcar::Project::FileOpenCommand.new.run
end

Given /^I have opened "([^\"]*)"$/ do |arg1|
  Redcar::Project::FileOpenCommand.new(arg1).run
end

When /^I save the tab$/ do
  Redcar::Project::FileSaveCommand.new.run
end

When /^I save the tab as$/ do
  Redcar::Project::FileSaveAsCommand.new.run
end

Then /^the file "([^\"]*)" should contain "([^\"]*)"$/ do |arg1, arg2|
  File.read(arg1).should == arg2
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redcar-0.3.0dev plugins/project/features/step_definitions/file_steps.rb
redcar-0.2.9dev plugins/project/features/step_definitions/file_steps.rb