spec/blather/stanza/pubsub/affiliations_spec.rb in blather-0.4.14 vs spec/blather/stanza/pubsub/affiliations_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__
def control_affiliations
{ :owner => ['node1', 'node2'],
:publisher => ['node3'],
:outcast => ['node4'],