Sha256: 7fa9d601fc2e575f69d187eaa010057861dd27b45c57ef2d5bc87d19a5c29f2d

Contents?: true

Size: 479 Bytes

Versions: 8

Compression:

Stored size: 479 Bytes

Contents

require 'spec_helper'

describe Maestrano::Connector::Rails::External do
  subject { Maestrano::Connector::Rails::External }

  describe 'external_name' do
    it { expect(subject.external_name).to eql('Dummy app') }
  end

  describe 'get_client' do
    let(:organization) { create(:organization) }

    it { expect(subject.get_client(organization)).to eql(nil) }
  end

  describe 'entities_list' do
    it { expect(subject.entities_list).to eql(%w(entity1 entity2))}
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
maestrano-connector-rails-1.1.2 spec/models/external_spec.rb
maestrano-connector-rails-1.1.1 spec/models/external_spec.rb
maestrano-connector-rails-1.1.0 spec/models/external_spec.rb
maestrano-connector-rails-1.0.4 spec/models/external_spec.rb
maestrano-connector-rails-1.0.3 spec/models/external_spec.rb
maestrano-connector-rails-1.0.2 spec/models/external_spec.rb
maestrano-connector-rails-1.0.1 spec/models/external_spec.rb
maestrano-connector-rails-1.0.0 spec/models/external_spec.rb