spec/unit/configuration_spec.rb in pwwka-0.22.7 vs spec/unit/configuration_spec.rb in pwwka-0.23.RC1

- old
+ new

@@ -73,14 +73,10 @@ before do rails = Class.new do def self.application MyAmazingApp::Application.new end - - def self.version - '5.2.0' - end end Object.const_set("Rails",rails) end after do Object.send(:remove_const,"Rails") @@ -99,10 +95,10 @@ Object.send(:remove_const,"Rails") end it "blows up when not set" do expect { configuration.app_id - }.to raise_error(/'Rails' is defined, but it doesn't respond to #application or #version, so could not derive the app_id; you must explicitly set it/) + }.to raise_error(/'Rails' is defined, but it doesn't respond to #application, so could not derive the app_id; you must explicitly set it/) end end end describe "#error_handling_chain" do