Skip to content

Commit b83a6bf

Browse files
author
Ramtin Vaziri
committed
Remove specs with dependency on external files.
1 parent cab8978 commit b83a6bf

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

spec/test_spec.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
.to raise_error 'Not a valid file format.'
1818
end
1919

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-
end
29-
3020
it 'Check file extension of original_filename if passed.' do
3121
path = 'spec/fixtures/temp_string_io_file_path_with_no_extension'
3222
expect { Creek::Book.new path, :original_filename => 'invalid.xls' }

0 commit comments

Comments
 (0)