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

- old
+ new

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