Created
November 8, 2012 20:09
-
-
Save stevencwarren/4041212 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 "The article is an ebsco article" do | |
before(:each) do | |
@ea = Factory(:ebsco_article, :teaser => '<p>\r\n\t </p>\r\n<p>teaser text</p>', :text => '<p>\r\n\t </p>\r\n<p>body text</p>') | |
end | |
it "should not call p clean on the teaser" do | |
@ea.teaser.should == '<p>\r\n\t </p>\r\n<p>teaser text</p>' | |
end | |
it "should not call p clean on the text" do | |
@ea.text.should == '<p>\r\n\t </p>\r\n<p>body text</p>' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment