Created
July 1, 2009 18:08
-
-
Save dakrone/138944 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| snip from spec file: | |
| KNOWN_STATS = [SPEC_EXAMPLE_FILE, 0.570645834224529, 0.586986749301636, 3.40291187981663, 3.70043971814109, 22] | |
| it 'should return the known statistics about a.rb' do | |
| stats = @c.process_directory(SPEC_FILE_DIR)[SPEC_EXAMPLE_BASE][0] | |
| stats.should == KNOWN_STATS | |
| end | |
| output: | |
| 'Oatmeal::Complexid should return the known statistics about a.rb' FAILED | |
| expected: ["./a.rb", 0.570645834224529, 0.586986749301636, 3.40291187981663, 3.70043971814109, 22], | |
| got: ["./a.rb", 0.570645834224529, 0.586986749301636, 3.40291187981663, 3.70043971814109, 22] (using ==) | |
| /Users/hinmanm/src/ruby/oatmeal/oatmeal/complexid/spec/complexid_spec.rb:26:in `block (2 levels) in <top (required)>' | |
| /usr/local/lib/ruby1.9/1.9.1/timeout.rb:44:in `timeout' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment