Sha256: 2154320d5fd1d19d9f5187eda2c83df8efcb8b257692db7f226c53870f30e8dc

Contents?: true

Size: 495 Bytes

Versions: 7

Compression:

Stored size: 495 Bytes

Contents

require 'spec_helper'

describe SearchKit::Models::Subscriber do
  let(:model) { described_class.new }

  subject { model }

  it { is_expected.to respond_to :id }
  it { is_expected.to respond_to :email }
  it { is_expected.to respond_to :uri }

  describe '#creator_tokens' do
    subject { model.creator_tokens }
    it { is_expected.to be_instance_of Array }
  end

  describe '#keys' do
    subject { model.keys }
    it { is_expected.to be_instance_of SearchKit::Models::Keys }
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
search-kit-0.0.10 spec/search_kit/models/subscriber_spec.rb
search-kit-0.0.9 spec/search_kit/models/subscriber_spec.rb
search-kit-0.0.8 spec/search_kit/models/subscriber_spec.rb
search-kit-0.0.7 spec/search_kit/models/subscriber_spec.rb
search-kit-0.0.6 spec/search_kit/models/subscriber_spec.rb
search-kit-0.0.5 spec/search_kit/models/subscriber_spec.rb
search-kit-0.0.4 spec/search_kit/models/subscriber_spec.rb