test/vagrant/config/base_test.rb in vagrantup-0.6.9 vs test/vagrant/config/base_test.rb in vagrantup-0.7.0
- old
+ new
@@ -40,15 +40,9 @@
@base.expects(:instance_variables_hash).returns(@iv_hash)
@json = { 'json_class' => @base.class.name }.merge(@iv_hash).to_json
assert_equal @json, @base.to_json
end
- should "not include env in the JSON hash" do
- @base.env = "FOO"
- hash = @base.instance_variables_hash
- assert !hash.has_key?(:env)
- end
-
should "not include top in the JSON hash" do
@base.top = "FOO"
hash = @base.instance_variables_hash
assert !hash.has_key?(:top)
end