spec/models/bookmark_spec.rb in blacklight-6.2.0 vs spec/models/bookmark_spec.rb in blacklight-6.3.0

- old
+ new

@@ -7,30 +7,30 @@ b = Bookmark.new(user: user) b.document = SolrDocument.new(id: 'u001') b end - it "should be valid" do + it "is valid" do expect(subject).to be_valid end - it "should belong to user" do + it "belongs to user" do expect(Bookmark.reflect_on_association(:user)).not_to be_nil end - it "should be valid after saving" do + it "is valid after saving" do subject.save expect(subject).to be_valid end describe "#document_type" do - it "should be the class of the solr document" do + it "is the class of the solr document" do expect(subject.document_type).to eq SolrDocument end end describe "#document" do - it "should be a SolrDocument with just an id field" do + it "is a SolrDocument with just an id field" do expect(subject.document).to be_a_kind_of SolrDocument expect(subject.document.id).to eq 'u001' end end end