Sha256: f67f1e5fe1235c7340b4ac814e761ac20cb780d94ae07ba059f0892796edf926

Contents?: true

Size: 870 Bytes

Versions: 29

Compression:

Stored size: 870 Bytes

Contents

require 'spec_helper'

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

  before {
    allow(Maestrano::Connector::Rails::External).to receive(:external_name).and_call_original
    allow(Maestrano::Connector::Rails::External).to receive(:get_client).and_call_original
    allow(Maestrano::Connector::Rails::External).to receive(:entities_list).and_call_original
  }

  describe 'external_name' do
    it { expect{ subject.external_name }.to raise_error(RuntimeError) }
  end

  describe 'get_client' do
    it { expect{ subject.get_client(nil) }.to raise_error(RuntimeError) }
  end

  describe 'entities_list' do
    it { expect{ subject.entities_list }.to raise_error(RuntimeError) }
  end

  describe 'create_account_link' do
    it { expect{ subject.create_account_link }.to raise_error(RuntimeError) }
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
maestrano-connector-rails-2.0.2.pre.RC6 spec/models/external_spec.rb
maestrano-connector-rails-2.0.2.pre.RC5 spec/models/external_spec.rb
maestrano-connector-rails-2.0.2.pre.RC4 spec/models/external_spec.rb
maestrano-connector-rails-2.0.2.pre.RC3 spec/models/external_spec.rb
maestrano-connector-rails-2.0.2.pre.RC2 spec/models/external_spec.rb
maestrano-connector-rails-2.0.2.pre.RC1 spec/models/external_spec.rb
maestrano-connector-rails-2.0.1 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC13 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC12 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC11 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC10 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC9 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC8 spec/models/external_spec.rb
maestrano-connector-rails-1.5.0 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC7 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC6 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC5 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC4 spec/models/external_spec.rb
maestrano-connector-rails-2.0.0.pre.RC3 spec/models/external_spec.rb