Added spec for Config
[vagrant-dotfiles.git] / spec / copy_my_conf / config_spec.rb
1 require "spec_helper"
2 module Vagrant::Provisioners
3 class CopyMyConf < Base
4 describe Config do
5 it "should list all the true attributes" do
6 config = Config.new
7
8 config.vim = true
9 config.ssh = true
10
11 all_true_attributes = config.all_true
12 all_true_attributes.should =~ [:vim, :ssh]
13 end
14 end
15 end
16 end
17