spec/blather/stanza/pubsub_owner_spec.rb in blather-0.4.14 vs spec/blather/stanza/pubsub_owner_spec.rb in blather-0.4.15
- old
+ new
@@ -1,6 +1,6 @@
-require File.join(File.dirname(__FILE__), *%w[.. .. spec_helper])
-require File.join(File.dirname(__FILE__), *%w[.. .. fixtures pubsub])
+require File.expand_path "../../../spec_helper", __FILE__
+require File.expand_path "../../../fixtures/pubsub", __FILE__
describe Blather::Stanza::PubSubOwner do
it 'registers itself' do
Blather::XMPPNode.class_from_registration(:pubsub, 'http://jabber.org/protocol/pubsub#owner').must_equal Blather::Stanza::PubSubOwner
end