spec/evaluation_spec.rb in outliers-0.5.0 vs spec/evaluation_spec.rb in outliers-0.5.1

- old
+ new

@@ -29,9 +29,14 @@ it "should override a valid provider with one provided" do subject.connect('test_account_1', { 'provider' => 'aws_ec2' }) expect(subject.provider_name_array).to eq(['Aws', 'Ec2']) end + + it "should throw an error if the account is unknown" do + expect { subject.connect('bad_account') }. + to raise_error(Outliers::Exceptions::UnknownAccount) + end end context "with connection and resources" do before do