# # This file is part of the ballast gem. Copyright (C) 2013 and above Shogun . # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # require "spec_helper" describe Ballast::Errors::BaseError do subject { Ballast::Errors::BaseError.new("ERROR") } describe ".initialize" do it "should propagate the message also as a response" do expect(subject.message).to eq("ERROR") expect(subject.response).to eq("ERROR") end end end