spec/alexandria/book_spec.rb in alexandria-book-collection-manager-0.7.9 vs spec/alexandria/book_spec.rb in alexandria-book-collection-manager-0.7.10

- old
+ new

@@ -20,19 +20,21 @@ require "spec_helper" describe Alexandria::Book do it "is a thing" do - an_artist_of_the_floating_world + expect(an_artist_of_the_floating_world).to be_a described_class end it "establishes equality only with books with the same identity" do book = an_artist_of_the_floating_world same_book = an_artist_of_the_floating_world - expect(same_book).to eq book different_book = an_artist_of_the_floating_world different_book.isbn = "9780571147999" - expect(different_book).not_to eq book + aggregate_failures do + expect(same_book).to eq book + expect(different_book).not_to eq book + end end describe "#rating" do let(:book) { an_artist_of_the_floating_world }