summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-08-23 20:20:04 +0200
committerChris Schlaeger <chris@linux.com>2014-08-23 20:20:04 +0200
commitc5001f84e7a5f6714909387389992b971c9d5766 (patch)
treecd83c1a2152dafd9fc4ba9c32ec5767a6e0d53f2 /spec
parentc879fd4a6e1da1996c7f05daf3979080e3d51f29 (diff)
downloadpostrunner-c5001f84e7a5f6714909387389992b971c9d5766.zip
Paging support for browser list view.
Diffstat (limited to 'spec')
-rw-r--r--spec/PostRunner_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/PostRunner_spec.rb b/spec/PostRunner_spec.rb
index bb2d600..1fbfd05 100644
--- a/spec/PostRunner_spec.rb
+++ b/spec/PostRunner_spec.rb
@@ -117,8 +117,6 @@ describe PostRunner::Main do
it 'should import a FIT file' do
postrunner(%w( import FILE1.FIT ))
- rc = YAML::load_file(File.join(@db_dir, 'config.yml'))
- rc[:import_dir].should == '.'
end
it 'should check the imported file' do
@@ -134,10 +132,12 @@ describe PostRunner::Main do
end
it 'should import the other FIT file' do
- postrunner(%w( import ))
+ postrunner([ 'import', '.' ])
list = postrunner(%w( list ))
list.index('FILE1.FIT').should be_a(Fixnum)
list.index('FILE2.FIT').should be_a(Fixnum)
+ rc = YAML::load_file(File.join(@db_dir, 'config.yml'))
+ rc[:import_dir].should == '.'
end
it 'should delete the first file' do