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
Index: | |
1. should() #basic expectation | |
2. should_not() #basic negation of an expectation (RSpec does not support using !=) | |
3. include(item) #called on an enumerable object, this returns true or false if the object is found in the enumerable collection | |
4. respond_to(:message) #determines if a particular message (as a symbol) is defined for an object | |
5. raise_error(type, message) #checks if a particular error was raised, accepts zero, one or two parameters |