Sha256: bdd03e4abbf5ababdd6b2217743128767a480539b590a25d7fb54d56b305ae60

Contents?: true

Size: 555 Bytes

Versions: 3

Compression:

Stored size: 555 Bytes

Contents

Given(/^a file located at "(.*?)"$/) do |filepath|
  expect(File).to exist(File.expand_path(filepath))
end

Then(/^"(.*?)" should exist$/) do |file|
  expect(File).to exist(File.expand_path(file)) 
end

Then(/^Settings\.textexpander should be backed up$/) do
  expect(File).to exist("/tmp/expandsync/Dropbox/TextExpander/Settings.textexpander_#{ Time.now.utc.iso8601 }")
end

Then(/^Settings\.textexpander should not be backed up$/) do
  expect(File).to_not exist("/tmp/expandsync/Dropbox/TextExpander/Settings.textexpander_#{ Time.now.utc.iso8601 }")
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expandsync-0.1.3 features/step_definitions/expandsync_steps.rb
expandsync-0.1.2 features/step_definitions/expandsync_steps.rb
expandsync-0.1.1 features/step_definitions/expandsync_steps.rb