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-6.3.1 spec/support/concerns/notable.rb
udongo-6.3.0 spec/support/concerns/notable.rb
udongo-6.2.1 spec/support/concerns/notable.rb
udongo-6.2.0 spec/support/concerns/notable.rb
udongo-6.1.0 spec/support/concerns/notable.rb
udongo-6.0.0 spec/support/concerns/notable.rb
udongo-5.9.0 spec/support/concerns/notable.rb
udongo-5.8.0 spec/support/concerns/notable.rb
udongo-5.7.0 spec/support/concerns/notable.rb
udongo-5.6.0 spec/support/concerns/notable.rb
udongo-5.5.0 spec/support/concerns/notable.rb
udongo-5.4.0 spec/support/concerns/notable.rb
udongo-5.3.1 spec/support/concerns/notable.rb
udongo-5.3.0 spec/support/concerns/notable.rb
udongo-5.2.0 spec/support/concerns/notable.rb