1 |
flameeyes 12/09/02 08:25:56 |
2 |
|
3 |
Added: ruby-dbi-0.4.3-drivers-test.patch |
4 |
Log: |
5 |
Move to dev-ruby/dbi. |
6 |
|
7 |
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: ruby-dbi-0.4.3-drivers-test.patch |
16 |
=================================================================== |
17 |
Remove a test that will fail because we cannot garantuee that |
18 |
these drivers are installed, especially on first installation. |
19 |
--- test/dbi/tc_dbi.rb.orig 2010-06-15 19:58:58.732811127 +0200 |
20 |
+++ test/dbi/tc_dbi.rb 2010-06-15 19:59:10.004808935 +0200 |
21 |
@@ -139,18 +139,6 @@ |
22 |
assert_respond_to(DBI, :connect) |
23 |
end |
24 |
|
25 |
- def test_available_drivers |
26 |
- assert_respond_to(DBI, :available_drivers) |
27 |
- assert_equal( |
28 |
- [ |
29 |
- "dbi:Mysql:", |
30 |
- "dbi:ODBC:", |
31 |
- "dbi:Pg:", |
32 |
- "dbi:SQLite3:", |
33 |
- "dbi:SQLite:" |
34 |
- ], DBI.available_drivers.sort) |
35 |
- end |
36 |
- |
37 |
# PRIVATE METHODS |
38 |
def test_parse_url |
39 |
assert_nothing_raised{ DBI.send(:parse_url, "dbi:foo:bar") } |