RSpec: Notes
09 Jun 2014####Modifier vs Matcher
Modifier eg: should, should_not Matcher eg: <, ==, >
####Predicate matcher
class Zombie
def hungry?
true
end
end
Zombie.new.should be_hungry
####Pending
it "nothing"
xit "something" do
# ...
end
it "something" do
pending
# ...
end
Your Comments
comments powered by Disqus