We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab8978 commit b83a6bfCopy full SHA for b83a6bf
1 file changed
spec/test_spec.rb
@@ -17,16 +17,6 @@
17
.to raise_error 'Not a valid file format.'
18
end
19
20
- it 'Fail to open remote file' do
21
- expect { Creek::Book.new 'http://dev-builds.libreoffice.org/tmp/test.xlsx' }
22
- .to raise_error(Zip::Error, /not found/)
23
- end
24
-
25
- it 'Opens remote file with remote flag' do
26
- expect { Creek::Book.new 'http://dev-builds.libreoffice.org/tmp/test.xlsx', remote: true }
27
- .not_to raise_error
28
29
30
it 'Check file extension of original_filename if passed.' do
31
path = 'spec/fixtures/temp_string_io_file_path_with_no_extension'
32
expect { Creek::Book.new path, :original_filename => 'invalid.xls' }
0 commit comments