spec/blather/stanza/x_spec.rb in blather-0.4.14 vs spec/blather/stanza/x_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 x_xml
<<-XML
<x xmlns='jabber:x:data'
type='form'>