You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/puppet/resource_api/transport_spec.rb
+10-7Lines changed: 10 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -129,19 +129,22 @@
129
129
130
130
describe'#self.validate'do
131
131
context'when the transport being validated has not be registered'do
132
-
it{expect{described_class.validate('wibble',{})}.toraise_errorPuppet::DevError,%r{Transport for `wibble` not registered}}
132
+
it{expect{described_class.validate('wibble',{})}.toraise_errorLoadError,%r{(no such file to load|cannot load such file) -- puppet/transport/schema/wibble}}
133
133
end
134
134
135
135
context'when the transport being validated has been registered'do
136
136
let(:schema){{name: 'validate',desc: 'a minimal connection',connection_info: {}}}
0 commit comments