spec/blather/errors/stanza_error_spec.rb in blather-0.4.14 vs spec/blather/errors/stanza_error_spec.rb in blather-0.4.15

- old
+ new

@@ -1,5 +1,5 @@ -require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper]) +require File.expand_path "../../../spec_helper", __FILE__ def stanza_error_node(type = 'cancel', error = 'internal-server-error', msg = nil) node = Blather::Stanza::Message.new 'error@jabber.local', 'test message', :error node << (error_node = Blather::XMPPNode.new('error'))