Sha256: 457a661e9f880c965c3c73a74d9c5b9db8a0baeec1c2eafc384f13c096da1697

Contents?: true

Size: 440 Bytes

Versions: 35

Compression:

Stored size: 440 Bytes

Contents

require 'spec_helper'

describe EmailLink do
  it_behaves_like 'search_container'

  let(:email_link) { EmailLink.new(Id: 5) }

  describe 'filter' do
    it 'returns a filter for the email link' do
      expect(email_link.filter).to eq "EmailLink Eq '#{email_link.id}'"
    end    
  end  

  describe 'listing_search_role' do
    it 'returns a symbol' do
      expect(EmailLink.new().listing_search_role).to eq(:public)
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
spark_api-1.4.24 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.23 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.22 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.21 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.20 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.19 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.18 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.17 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.16 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.15 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.14 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.13 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.12 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.11 spec/unit/spark_api/models/email_link_spec.rb
spark_api-1.4.10 spec/unit/spark_api/models/email_link_spec.rb