Sha256: 85a717097276b9a2f27e5c575137923c2abe35ad7db08c913f97deec1b390741
Contents?: true
Size: 417 Bytes
Versions: 1
Compression:
Stored size: 417 Bytes
Contents
shared_context 'books with authors' do include_context 'authors' let(:book_a) { FactoryBot.create(:book, title: 'Book A', author: first_author) } let(:book_b_first) { FactoryBot.create(:book, title: 'Book B', author: first_author) } let(:book_b_second) { FactoryBot.create(:book, title: 'Book B', author: second_author) } let(:book_c) { FactoryBot.create(:book, title: 'Book C', author: second_author) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
friendly_id-method_scopes-0.3.7 | spec/support/books_with_authors.rb |