fixed one spec bug in bookmarks
This commit is contained in:
parent
768ddb1c37
commit
eb2c3fd2e5
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ describe Bookmark do
|
|||
describe "XML" do
|
||||
it 'should serialize to XML' do
|
||||
Factory.create(:user)
|
||||
message = Factory.create(:bookmark, :title => "Reddit", :link => "http://reddit.com")
|
||||
message = Factory.create(:bookmark, :title => "Reddit", :link => "http://reddit.com/")
|
||||
message.to_xml.to_s.should include "<title>Reddit</title>"
|
||||
message.to_xml.to_s.should include "<link>http://reddit.com/</link>"
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue