Sha256: d4cc4fd3251629ff5d3fdf57f214d9f71f51ef764c9f1bafeed65201552d20e7
Contents?: true
Size: 363 Bytes
Versions: 11
Compression:
Stored size: 363 Bytes
Contents
require 'rails_helper' RSpec.describe Book do include_context 'books with authors' describe 'generates proper slug for first item' do subject { book_b_first.to_param } it { should eq 'book-b' } end describe 'generates proper slug for same slug in another scope' do subject { book_b_second.to_param } it { should eq 'book-b' } end end
Version data entries
11 entries across 11 versions & 1 rubygems