Created
September 25, 2013 11:46
-
-
Save erez-rabih/6698523 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
#Spec 2 | |
context "reaction templates exist, but non fitting" do | |
before :each do | |
reaction1 = ReactionTemplate.create! locale: "de", subtypes: ["basic", "top_x"] | |
reaction2 = ReactionTemplate.create! locale: "en", subtypes: ["slideshow", "top_x"] | |
end | |
it "should return no reaction template" do | |
reaction = FindReaction.for(@post).reaction | |
reaction.should be_blank | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment