spec/blather/stanza/iq/si_spec.rb in blather-0.4.15 vs spec/blather/stanza/iq/si_spec.rb in blather-0.4.16
- old
+ new
@@ -1,6 +1,6 @@
-require File.expand_path "../../../../spec_helper", __FILE__
+require 'spec_helper'
def si_xml
<<-XML
<iq type='set' id='offer1' to='juliet@capulet.com/balcony' from='romeo@montague.net/orchard'>
<si xmlns='http://jabber.org/protocol/si'
@@ -96,6 +96,6 @@
it 'can set and get description' do
file = Blather::Stanza::Iq::Si::Si::File.new('test.txt', 123)
file.desc = 'This is a test. If this were a real file...'
file.desc.must_equal 'This is a test. If this were a real file...'
end
-end
\ No newline at end of file
+end