spec/processor_spec.rb in pupa-0.1.9 vs spec/processor_spec.rb in pupa-0.1.10
- old
+ new
@@ -78,22 +78,22 @@
end
it 'should dump a JSON document' do
processor.dump_scraped_objects(:people)
File.exist?(path).should == true
- io.string.should_not match('http://popoloproject.com/schemas/person.json')
+ io.string.should_not match('http://www.popoloproject.com/schemas/person.json')
end
it 'should validate the object' do
processor.make_person_invalid
processor.dump_scraped_objects(:people)
- io.string.should match('http://popoloproject.com/schemas/person.json')
+ io.string.should match('http://www.popoloproject.com/schemas/person.json')
end
it 'should not validate the object' do
novalidate.make_person_invalid
novalidate.dump_scraped_objects(:people)
- io.string.should_not match('http://popoloproject.com/schemas/person.json')
+ io.string.should_not match('http://www.popoloproject.com/schemas/person.json')
end
end
describe '#import' do
before :each do