Sha256: 93755c340562f740ec6a3c09030d148f7871d9230a3a9d4c3f22dae1f2446bb4

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe ActsAsContactable::Contactable do
  it 'should not be contactable' do
    expect(NotContactable).not_to be_contactable
  end

  it 'should be contactable' do
    expect(Contactable).to be_contactable
  end

  it_behaves_like 'a contactable_model' do
    let (:contactable) { create(:contactable, name: 'a contactable model') }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
acts-as-contactable-0.2.2 spec/contactable_spec.rb
acts-as-contactable-0.2.1 spec/contactable_spec.rb
acts-as-contactable-0.2.0 spec/contactable_spec.rb