Sha256: e90aabac6d74b06128dd4ace3c50c7cdabfb1818d9af354d77392b14cf2f3e1c
Contents?: true
Size: 749 Bytes
Versions: 4
Compression:
Stored size: 749 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 end
Version data entries
4 entries across 4 versions & 1 rubygems