spec/models/local_authority_spec.rb in sufia-4.0.0.rc1 vs spec/models/local_authority_spec.rb in sufia-4.0.0.rc2

- old
+ new

@@ -33,10 +33,10 @@ end it "should harvest TSV vocabs" do LocalAuthority.harvest_tsv("geo", @tsv, prefix: 'http://sws.geonames.org/') LocalAuthority.count.should == 1 auth = LocalAuthority.where(name: "geo").first - LocalAuthorityEntry.where(local_authority_id: auth.id).first.uri.start_with?('http://sws.geonames.org/').should be_true + expect(LocalAuthorityEntry.where(local_authority_id: auth.id).first.uri).to start_with('http://sws.geonames.org/') LocalAuthorityEntry.count.should == 149 end describe "when vocabs are harvested" do before(:all) do class MyTestRdfDatastream; end