spec/rake/funnel/integration/teamcity/teamcity_spec.rb in rake-funnel-0.11.0.pre vs spec/rake/funnel/integration/teamcity/teamcity_spec.rb in rake-funnel-0.12.0.pre

- old
+ new

@@ -89,10 +89,10 @@ expect(ENV).to have_received(:[]=).with('PATH', original_path) end context 'block error' do it 'should reset path' do - expect { described_class.with_java_runtime { fail 'with some error' } }.to raise_error + expect { described_class.with_java_runtime { fail 'with some error' } }.to raise_error(/with some error/) expect(ENV).to have_received(:[]=).with('PATH', original_path) end end end