test/lib/vedeu/configuration_test.rb in vedeu-0.0.36 vs test/lib/vedeu/configuration_test.rb in vedeu-0.0.37
- old
+ new
@@ -10,8 +10,18 @@
it 'returns the options which instructs Vedeu to run once' do
Configuration.configure(['--run-once'])
.must_equal({ interactive: false })
end
+
+ it 'returns the options which instructs Vedeu to run in cooked mode' do
+ Configuration.configure(['--cooked'])
+ .must_equal({ mode: :cooked })
+ end
+
+ it 'returns the options which instructs Vedeu to run in raw mode' do
+ Configuration.configure(['--raw'])
+ .must_equal({ mode: :raw })
+ end
end
end
end