Sha256: eb067afabba82a5cc87d7f15150364e17cf0045cf1ac6df5ce03538f1e184b4b
Contents?: true
Size: 468 Bytes
Versions: 1
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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
choctop-0.9.6 | features/steps/file_attribute_steps.rb |