seattlerb/minitest — Issue #64: #must_output not recognized in v2.7.0
Author: lee-dohm
Created: 2011-10-30 22:08:48+00:00
State: open

# INITIAL SETUP
1. Mac OS X Lion v10.7.2
1. RVM v1.9.0
1. Ruby v1.9.2-p290 *(default Ruby)*
1. Install minitest gem v2.7.0

# REPRO STEPS
1. Write test case:
```ruby
require 'minitest/spec'
require 'minitest/autorun'

describe 'test' do
it 'will respond to must_output' do
proc { puts 'foo' }.must_output 'foo'
end
end
```
1. Save as 'test.rb'
1. Execute test case: ruby test.rb

# EXPECTED
Test to pass.

# ACTUAL
Test raises an error: NoMethodError: undefined method `must_output' for #
test.rb:6:in `block (2 levels) in

'