summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
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