File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ module SQLite3
6
6
class TestDatabaseURI < SQLite3 ::TestCase
7
7
def test_open_absolute_file_uri
8
8
skip ( "windows uri paths are hard" ) if windows?
9
- skip ( "sqlcipher may not allow URIs" ) if SQLite3 . sqlcipher?
9
+ skip ( "system libraries may not allow URIs" ) unless SQLite3 :: SQLITE_PACKAGED_LIBRARIES
10
10
11
11
Tempfile . open "test.db" do |file |
12
12
db = SQLite3 ::Database . new ( "file:#{ file . path } " )
@@ -17,7 +17,7 @@ def test_open_absolute_file_uri
17
17
18
18
def test_open_relative_file_uri
19
19
skip ( "windows uri paths are hard" ) if windows?
20
- skip ( "sqlcipher may not allow URIs" ) if SQLite3 . sqlcipher?
20
+ skip ( "system libraries may not allow URIs" ) unless SQLite3 :: SQLITE_PACKAGED_LIBRARIES
21
21
22
22
Dir . mktmpdir do |dir |
23
23
Dir . chdir dir do
@@ -31,7 +31,7 @@ def test_open_relative_file_uri
31
31
32
32
def test_open_file_uri_readonly
33
33
skip ( "windows uri paths are hard" ) if windows?
34
- skip ( "sqlcipher may not allow URIs" ) if SQLite3 . sqlcipher?
34
+ skip ( "system libraries may not allow URIs" ) unless SQLite3 :: SQLITE_PACKAGED_LIBRARIES
35
35
36
36
Tempfile . open "test.db" do |file |
37
37
db = SQLite3 ::Database . new ( "file:#{ file . path } ?mode=ro" )
You can’t perform that action at this time.
0 commit comments