KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Here's my rspec test: it "can release an idea" do james.claim(si_title) james.release(si_title) james.ideas.size.should eq 0 si_title.status.should eq "available" end Are the two should lines at the end a really bad idea? I read somewhere that you should only test for one thing per it block, but it seems silly to make a whole test just to make sure that the title status changes (the same function does both things in my code).
Tags (comma-separated)
Save Edits
Cancel