Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whitespace

  • Loading branch information...
commit 0e804bdc62f397b6e4d3fef9a51f01c67185d17a 1 parent 3279aad
@sickill authored
Showing with 4 additions and 0 deletions.
  1. +2 −0  spec/locking_spec.rb
  2. +2 −0  spec/sync_spec.rb
View
2  spec/locking_spec.rb
@@ -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
@@ -31,6 +32,7 @@
remote_path('.bitpocket/tmp/lock').should_not exist
end
+
def max_pid
if RUBY_PLATFORM =~ /darwin/
99998
View
2  spec/sync_spec.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.