spec/cli_spec.rb in lederhosen-0.2.11 vs spec/cli_spec.rb in lederhosen-0.2.12
- old
+ new
@@ -5,9 +5,13 @@
it 'should have an executable' do
`./bin/lederhosen`
$?.success?.should be_true
end
+ it 'should have a version command' do
+ `./bin/lederhosen version`.strip.should == "lederhosen-#{Lederhosen::Version::STRING}"
+ end
+
it 'should trim reads' do
`./bin/lederhosen trim --reads-dir=spec/data/IL*.txt.gz --out-dir=#{$test_dir}/trimmed`
$?.success?.should be_true
end