X-Git-Url: https://pwan.org/git/?p=vagrant-dotfiles.git;a=blobdiff_plain;f=spec%2Fcopy_my_conf%2Fconfig_spec.rb;fp=spec%2Fcopy_my_conf%2Fconfig_spec.rb;h=4a2ffdc47e3af4109efa5c4ed56677706eb2deae;hp=0000000000000000000000000000000000000000;hb=2a7fb02fbf510e8475a65ed5a76b879aa4cb841e;hpb=98cb869941896b43b33ed5786837911c267c772f diff --git a/spec/copy_my_conf/config_spec.rb b/spec/copy_my_conf/config_spec.rb new file mode 100644 index 0000000..4a2ffdc --- /dev/null +++ b/spec/copy_my_conf/config_spec.rb @@ -0,0 +1,17 @@ +require "spec_helper" +module Vagrant::Provisioners + class CopyMyConf < Base + describe Config do + it "should list all the true attributes" do + config = Config.new + + config.vim = true + config.ssh = true + + all_true_attributes = config.all_true + all_true_attributes.should =~ [:vim, :ssh] + end + end + end +end +