projects
/
vagrant-dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Provisioner objects created by config
[vagrant-dotfiles.git]
/
spec
/
copy_my_conf
/
config_spec.rb
diff --git
a/spec/copy_my_conf/config_spec.rb
b/spec/copy_my_conf/config_spec.rb
index
4a2ffdc
..
5e1334d
100644
(file)
--- a/
spec/copy_my_conf/config_spec.rb
+++ b/
spec/copy_my_conf/config_spec.rb
@@
-5,11
+5,11
@@
module Vagrant::Provisioners
it "should list all the true attributes" do
config = Config.new
it "should list all the true attributes" do
config = Config.new
- config.vim
= true
- config.ssh
= true
+ config.vim
+ config.ssh
- all_
true_attributes = config.all_true
- all_
true_attributes.should =~ [:vim, :s
sh]
+ all_
enabled_attributes = config.all_enabled_attributes
+ all_
enabled_attributes.map(&:class) =~ [Vim, S
sh]
end
end
end
end
end
end