Created
October 31, 2012 04:31
-
-
Save toothrot/3984811 to your computer and use it in GitHub Desktop.
riot
This file contains 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
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/definition.rb:233: warning: assigned but unused variable - e | |
/Users/alex/.rbenv/versions/1.9.3-p286/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundler/source.rb:516: warning: method redefined; discarding old revision | |
Riot with RR support | |
+ asserts RR methods are available to an RR::Situation includes RR::Adapters::RRMethods | |
+ asserts assertion passes when RR is satisfied is equal to [:pass, ""] | |
+ asserts assertion that would otherwise pass fails with RR message when RR is displeased is equal to [:fail, "hello() Called 0 times. Expected 1 times."] | |
+ asserts assertion that would otherwise fail or error does so intact even when RR is displeased is equal to [:error, #<RuntimeError: ooga booga>] | |
+ asserts RR verification is reset between assertion runs is equal to [:fail, "goodbye() Called 0 times. Expected 1 times."] | |
Riot with RR support when using the RR context | |
+ asserts new assertions is a kind of Riot::RR::Assertion | |
+ asserts situation class is equal to Riot::RR::Situation | |
Riot with RR support does not carry expectations between assertions | |
+ asserts first assertion fails is equal to :fail | |
+ asserts second assertion passes is equal to [:pass, ""] | |
Riot with RR support with RR doubles defined in setup | |
+ asserts an assertion is equal to [:fail, "hello() Called 0 times. Expected 1 times."] | |
+ asserts another assertion won't use the expectations is equal to [:pass, ""] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment