Sha256: 183c62650eded046f17018387954b7c3499b12c012d0b0b0b53caa2b36ad3bfd

Contents?: true

Size: 469 Bytes

Versions: 3

Compression:

Stored size: 469 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(Dir['/tmp/expandsync/Dropbox/TextExpander/*'].count).to eq(2)
end

Then(/^Settings\.textexpander should not be backed up$/) do
  expect(Dir['/tmp/expandsync/Dropbox/TextExpander/*'].count).to eq(1)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expandsync-0.2.2 features/step_definitions/expandsync_steps.rb
expandsync-0.2.1 features/step_definitions/expandsync_steps.rb
expandsync-0.2.0 features/step_definitions/expandsync_steps.rb