test/surrounded_context_test.rb in surrounded-0.8.4 vs test/surrounded_context_test.rb in surrounded-0.9.0

- old
+ new

@@ -44,11 +44,12 @@ assert_equal "Guille", context.access_other_object end it 'preserves arguments and blocks' do result = context.block_method('argument') do |*args, obj| - "Having an #{args.first} with #{obj}" + "Having an #{args.first} with #{obj.class}" end + assert_equal "Having an argument with TestContext", result end it 'allows usage of regular methods for triggers' do assert context.regular_method_trigger end