spec/blather/stanza/pubsub/subscription_spec.rb in blather-0.4.15 vs spec/blather/stanza/pubsub/subscription_spec.rb in blather-0.4.16

- old
+ new

@@ -1,7 +1,7 @@ -require File.expand_path "../../../../spec_helper", __FILE__ -require File.expand_path "../../../../fixtures/pubsub", __FILE__ +require 'spec_helper' +require 'fixtures/pubsub' describe Blather::Stanza::PubSub::Subscription do it 'registers itself' do Blather::XMPPNode.class_from_registration(:subscription, 'http://jabber.org/protocol/pubsub').must_equal Blather::Stanza::PubSub::Subscription end @@ -91,7 +91,7 @@ Blather::Stanza::PubSub::Subscription::VALID_TYPES.each do |valid_type| it "provides a helper (#{valid_type}?) for type #{valid_type}" do Blather::Stanza::PubSub::Subscription.new.must_respond_to :"#{valid_type}?" end end - + end