spec/blather/stanza_spec.rb in blather-0.4.14 vs spec/blather/stanza_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 do
it 'provides .next_id helper for generating new IDs' do
proc { Blather::Stanza.next_id }.must_change 'Blather::Stanza.next_id'
end