Created
February 25, 2009 17:57
-
-
Save banker/70318 to your computer and use it in GitHub Desktop.
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
context "A new group" do | |
setup do | |
@group = Factory(:group) | |
end | |
context "with an added entry" do | |
setup do | |
@entry = Factory(:entry, :title => "WEB", :group => @group) | |
@group.reload | |
end | |
should "add an entry to the group" | |
assert @group.entries.include?(@entry) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment