spec/definition_spec.rb in zapata-0.1.3 vs spec/definition_spec.rb in zapata-0.1.4
- old
+ new
@@ -27,14 +27,14 @@
# has_block('#method_in_optional_args', %Q{
# expect(test_definition.method_in_optional_args('I am falling')).to eq('I am falling')
# })
# end
- # it '#call_method_result_in_optional_args' do
- # has_block('#call_method_result_in_optional_args', %Q{
- # expect(test_definition.call_method_result_in_optional_args('Missing "complex_method"')).to eq('Missing "complex_method"')
- # })
- # end
+ it '#call_method_result_in_optional_args' do
+ has_block('#call_method_result_in_optional_args', %Q{
+ expect(test_definition.call_method_result_in_optional_args('Missing "fall_meth.first"')).to eq('Missing "fall_meth.first"')
+ })
+ end
it '#resursive_method' do
has_block('#recursive_method', %Q{
expect(test_definition.recursive_method).to eq('Exception in RSpec')
})