spec/lib/ADB_spec.rb in ADB-0.5.3 vs spec/lib/ADB_spec.rb in ADB-0.5.4

- old
+ new

@@ -47,25 +47,25 @@ end context "when transferring files" do it "should be able to push a file" do - should_call_adb_with(' push', '/usr/foo.txt', '/sdcard/bar.txt') + should_call_adb_with('push', '/usr/foo.txt', '/sdcard/bar.txt') ADB.push('/usr/foo.txt', '/sdcard/bar.txt') end it "should be able to push a file with spaces in the name" do - should_call_adb_with(' push', '/usr/local file with spaces.txt', '/sdcard/remote file with spaces.txt') + should_call_adb_with('push', '/usr/local file with spaces.txt', '/sdcard/remote file with spaces.txt') ADB.push('/usr/local file with spaces.txt', '/sdcard/remote file with spaces.txt') end it "should be able to pull a file" do - should_call_adb_with(' pull', '/usr/foo.txt', '/sdcard/bar.txt') + should_call_adb_with('pull', '/usr/foo.txt', '/sdcard/bar.txt') ADB.pull('/usr/foo.txt', '/sdcard/bar.txt') end it "should be able to pull a file with spaces in the name" do - should_call_adb_with(' pull', '/usr/local file with spaces.txt', '/sdcard/remote file with spaces.txt') + should_call_adb_with('pull', '/usr/local file with spaces.txt', '/sdcard/remote file with spaces.txt') ADB.pull('/usr/local file with spaces.txt', '/sdcard/remote file with spaces.txt') end it "should be able to remount the /system drive" do should_call_adb_with('remount')