Sha256: a5f114ad91f5307c58821ae095aca7819dc464542fd9bb280ec399c8af1f6dc1

Contents?: true

Size: 468 Bytes

Versions: 17

Compression:

Stored size: 468 Bytes

Contents

Then /^file "(.*)" in mounted volume has GetFileInfo (.*) "(.*)"/ do |file, file_info_type, value|
  flags = case file_info_type.to_sym
  when :type; "-t"
  when :alias; "-aa"
  when :"custom icon"; "-ac"
  end
  in_mounted_volume do
    `GetFileInfo #{flags} '#{file}'`.strip.should == value
  end
end

Then /^file "(.*)" in mounted volume is aliased to "(.*)"/ do |file, target|
  in_mounted_volume do
    puts "TODO - how to get applescript to test this?"
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
choctop-0.14.0 features/step_definitions/file_attribute_steps.rb
choctop-0.13.1 features/step_definitions/file_attribute_steps.rb
choctop-0.13.0 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.8 features/step_definitions/file_attribute_steps.rb
choctop-0.12.1 features/step_definitions/file_attribute_steps.rb
choctop-0.12.0 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.7 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.6 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.5 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.4 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.3 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.2 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0.1 features/step_definitions/file_attribute_steps.rb
billymeltdown-choctop-0.11.0 features/step_definitions/file_attribute_steps.rb
choctop-0.11.1 features/step_definitions/file_attribute_steps.rb
choctop-0.11.0 features/step_definitions/file_attribute_steps.rb
choctop-0.10.0 features/step_definitions/file_attribute_steps.rb