spec/fetcher/microdata/article_small_spec.rb in fetcher-microdata-0.0.4 vs spec/fetcher/microdata/article_small_spec.rb in fetcher-microdata-0.0.5

- old
+ new

@@ -6,15 +6,15 @@ article = Fetcher::Microdata::ArticleSmall.new @argument, @viewer article._type.should == "http://schema.org/Article/Small" end end - it 'should raise wrong number of argument if the count of arguments is distinct of 2' do + it 'should raise wrong number of argument if the count of arguments is distinct of 3' do expect { - Fetcher::Microdata::ArticleSmall.new "a", "b", "c" + Fetcher::Microdata::ArticleSmall.new "a", "b", "c", "d" }.to raise_error end - + it 'should inherit from Fetcher::Microdata' do Fetcher::Microdata::ArticleSmall.superclass.should == Fetcher::Microdata end describe 'attributes' do \ No newline at end of file