Added spec for Config
[vagrant-dotfiles.git] / spec / copy_my_conf_spec.rb
diff --git a/spec/copy_my_conf_spec.rb b/spec/copy_my_conf_spec.rb
new file mode 100644 (file)
index 0000000..fb2dcb9
--- /dev/null
@@ -0,0 +1,18 @@
+require "spec_helper"
+
+module Vagrant
+  module Provisioners
+    describe CopyMyConf do
+      xit "should prepare provisioning process" do
+        copy_my_conf = CopyMyConf.new
+
+        config = CopyMyConf.config_class.new
+        config.vim = true
+
+        copy_my_conf.stub(:config).and_return(config)
+
+        CopyMyConf::Vim.any_instance.should_receive(:prepare)
+      end
+    end
+  end
+end