fixes specs calling now undefined methods
This commit is contained in:
parent
309c0dfcd0
commit
13a8521c21
3 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue