spec/blather/stanza/pubsub/event_spec.rb in blather-0.4.15 vs spec/blather/stanza/pubsub/event_spec.rb in blather-0.4.16
- old
+ new
@@ -1,6 +1,6 @@
-require File.expand_path "../../../../spec_helper", __FILE__
-require File.expand_path "../../../../fixtures/pubsub", __FILE__
+require 'spec_helper'
+require 'fixtures/pubsub'
describe Blather::Stanza::PubSub::Event do
it 'registers itself' do
Blather::XMPPNode.class_from_registration(:event, 'http://jabber.org/protocol/pubsub#event').must_equal Blather::Stanza::PubSub::Event
end