summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-08-31 22:01:46 +0200
committerChris Schlaeger <chris@linux.com>2014-08-31 22:01:46 +0200
commita21f6e948b1958b7e04fff51af6926b7bc653ba5 (patch)
tree1487f1523d4a2e28defdba3d1319a8d01b401aaf /spec
parent024388f50b953cd49f3b1f9feafb1a449f4fe3f5 (diff)
downloadpostrunner-a21f6e948b1958b7e04fff51af6926b7bc653ba5.zip
Fix spec test for rename
Diffstat (limited to 'spec')
-rw-r--r--spec/PostRunner_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/PostRunner_spec.rb b/spec/PostRunner_spec.rb
index d111b81..c3cbf64 100644
--- a/spec/PostRunner_spec.rb
+++ b/spec/PostRunner_spec.rb
@@ -100,7 +100,7 @@ describe PostRunner::Main do
end
it 'should rename FILE2.FIT activity' do
- postrunner(%w( rename :1 --name foobar ))
+ postrunner(%w( rename foobar :1 ))
list = postrunner(%w( list ))
list.index('FILE2.FIT').should be_nil
list.index('foobar').should be_a(Fixnum)