test/configuration/variables_test.rb in capistrano-2.5.20 vs test/configuration/variables_test.rb in capistrano-2.5.21
- old
+ new
@@ -52,9 +52,15 @@
assert !@config.respond_to?(:sample)
@config[:sample] = :value
assert @config.respond_to?(:sample)
end
+ def test_respond_to_should_be_true_when_passed_a_string
+ assert !@config.respond_to?('sample')
+ @config[:sample] = :value
+ assert @config.respond_to?('sample')
+ end
+
def test_respond_to_with_include_priv_paramter
assert !@config.respond_to?(:sample, true)
end
def test_set_should_require_value
\ No newline at end of file