Skip to content

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Dec 10, 2012
1 parent 3279aad commit 0e804bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/locking_spec.rb
Expand Up @@ -11,6 +11,7 @@

it "exits with status 2 when stale lock found" do
cat max_pid, local_path('.bitpocket/tmp/lock/pid')

sync.should exit_with(2)
end

Expand All @@ -31,6 +32,7 @@

remote_path('.bitpocket/tmp/lock').should_not exist
end

def max_pid
if RUBY_PLATFORM =~ /darwin/
99998
Expand Down
2 changes: 2 additions & 0 deletions spec/sync_spec.rb
Expand Up @@ -16,11 +16,13 @@
touch local_path('a')
touch remote_path('a')
sync.should succeed

if RUBY_PLATFORM =~ /darwin/
system "touch -mt 200801120000 #{remote_path('a')}"
else
system "touch -d '00:00' #{remote_path('a')}"
end

cat content, local_path('a')

sync.should succeed
Expand Down

0 comments on commit 0e804bd

Please sign in to comment.