spec/imw/schemes/remote_spec.rb in imw-0.2.1 vs spec/imw/schemes/remote_spec.rb in imw-0.2.2
- old
+ new
@@ -5,11 +5,10 @@
describe IMW::Schemes::Remote::RemoteFile do
before do
# skip modules or else it will automatically become HTML!
- @file = IMW.open('http://www.google.com', :skip_modules => true)
- @file.extend(IMW::Schemes::Remote::Base)
+ @file = IMW.open('http://www.google.com', :skip_modules => ["Schemes::HTTP", "Formats::HTML"])
end
describe 'with the file' do
it "can read a remote file" do