Created
October 12, 2011 01:27
-
-
Save buethling/1279965 to your computer and use it in GitHub Desktop.
test
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
let(:stories) { 2.times.map { Story.create } } | |
it "should get all of them" do | |
stories = Story.all | |
assigns(:stories).should == stories | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment