require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") describe Cardflex::ConfigurationError do it 'should add configuration error parameters' do sut = Cardflex::ConfigurationError.new('test', 'test msg') expect(sut.message).to eq 'Cardflex::Configuration.test test msg' end end