spec/blather/stanza/iq/query_spec.rb in blather-0.4.14 vs spec/blather/stanza/iq/query_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__
describe Blather::Stanza::Iq::Query do
it 'registers itself' do
Blather::XMPPNode.class_from_registration(:query, nil).must_equal Blather::Stanza::Iq::Query
end