spec/capucine/capucine_spec.rb in capucine-0.2.9 vs spec/capucine/capucine_spec.rb in capucine-0.2.10
- old
+ new
@@ -22,9 +22,14 @@
@cap.settings.working_dir.should eq(Dir.pwd)
@cap.settings.conf.should_not eq(nil)
end
+
+ it '#init the Capucinewith nothing' do
+ @cap.run_command([''])
+ end
+
it '#init the Capucine with settings' do
@cap.settings.set_user_config_file(@config_user)
@cap.settings.should_not eq(nil)
@cap.settings.working_dir.should eq(Dir.pwd)
\ No newline at end of file