fixes specs calling now undefined methods

This commit is contained in:
Michael Mitchell 2013-03-25 16:17:16 -07:00 committed by Jessica Lynn Suttles
parent 309c0dfcd0
commit 13a8521c21
3 changed files with 3 additions and 2 deletions

View file

@ -23,7 +23,7 @@ describe Microformats2::ImpliedProperty::Photo do
end
collection.all.each_with_index do |format, index|
it "implies photo to be '' in case #{index+1}" do
format.photo.to_s.should == ""
expect {format.photo}.to raise_error(NoMethodError)
end
end
end

View file

@ -23,7 +23,7 @@ describe Microformats2::ImpliedProperty::Url do
end
collection.all.each_with_index do |format, index|
it "implies url to be '' in case #{index+1}" do
format.url.to_s.should == ""
expect {format.url.to_s.should == ""}.to raise_error(NoMethodError)
end
end
end