Sha256: a364b9ca5e62a634ba0f0a718f0e3a3471cc4dab00f3cd8431d87e7f098c678a

Contents?: true

Size: 215 Bytes

Versions: 55

Compression:

Stored size: 215 Bytes

Contents

require 'rails_helper'

shared_examples_for :notable do
  let(:model) { described_class }
  let(:klass) { model.to_s.underscore.to_sym }

  it '#respond_to?' do
    expect(model.new).to respond_to(:notes)
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
udongo-7.9.0 spec/support/concerns/notable.rb
udongo-7.8.1 spec/support/concerns/notable.rb
udongo-7.8.0 spec/support/concerns/notable.rb
udongo-7.7.2 spec/support/concerns/notable.rb
udongo-7.7.1 spec/support/concerns/notable.rb
udongo-7.7.0 spec/support/concerns/notable.rb
udongo-7.6.2 spec/support/concerns/notable.rb
udongo-7.6.1 spec/support/concerns/notable.rb
udongo-7.6.0 spec/support/concerns/notable.rb
udongo-7.5.1 spec/support/concerns/notable.rb
udongo-7.5.0 spec/support/concerns/notable.rb
udongo-7.4.2 spec/support/concerns/notable.rb
udongo-7.4.1 spec/support/concerns/notable.rb
udongo-7.4.0 spec/support/concerns/notable.rb
udongo-7.3.5 spec/support/concerns/notable.rb
udongo-7.3.4 spec/support/concerns/notable.rb
udongo-7.3.3 spec/support/concerns/notable.rb
udongo-7.3.2 spec/support/concerns/notable.rb
udongo-7.3.1 spec/support/concerns/notable.rb
udongo-7.2.1 spec/support/concerns/notable.rb