spec/fetcher/microdata/review_spec.rb in fetcher-microdata-0.0.3 vs spec/fetcher/microdata/review_spec.rb in fetcher-microdata-0.0.4

- old
+ new

@@ -10,9 +10,15 @@ it 'should inherit from Fetcher::Microdata' do Fetcher::Microdata::Review.superclass.should == Fetcher::Microdata end + it 'should raise wrong number of argument if the count of arguments is distinct of 2' do + expect { + Fetcher::Microdata::Review.new "a", "b", "c" + }.to raise_error + end + describe 'attributes' do before do Fetcher::Microdata::Review.any_instance.stub :coerce end \ No newline at end of file