##// END OF EJS Templates
Test environments cleanup....
Jean-Philippe Lang -
r1070:5e2a01656df1
parent child
Show More
@@ -1,51 +1,44
1 1 # MySQL (default setup). Versions 4.1 and 5.0 are recommended.
2 2 #
3 3 # Get the fast C bindings:
4 4 # gem install mysql
5 5 # (on OS X: gem install mysql -- --include=/usr/local/lib)
6 6 # And be sure to use new-style password hashing:
7 7 # http://dev.mysql.com/doc/refman/5.0/en/old-client.html
8 8
9 9 production:
10 10 adapter: mysql
11 11 database: redmine
12 12 host: localhost
13 13 username: root
14 14 password:
15 15
16 16 development:
17 17 adapter: mysql
18 18 database: redmine_development
19 19 host: localhost
20 20 username: root
21 21 password:
22 22
23 23 test:
24 24 adapter: mysql
25 25 database: redmine_test
26 26 host: localhost
27 27 username: root
28 28 password:
29 29
30 30 test_pgsql:
31 31 adapter: postgresql
32 database: redmine
32 database: redmine_test
33 33 host: localhost
34 34 username: postgres
35 35 password: "postgres"
36 36
37 test_oracle:
38 adapter: oci
39 host: 192.168.0.14
40 username: rails_test
41 password: "rails"
42
43 test_sqlserver:
44 adapter: sqlserver
45 host: localhost,1157
46 database: redmine_test
37 test_sqlite3:
38 adapter: sqlite3
39 dbfile: db/test.db
47 40
48 41 demo:
49 42 adapter: sqlite3
50 dbfile: db/redmine_demo.db
43 dbfile: db/demo.db
51 44
1 NO CONTENT: file renamed from config/environments/test_sqlserver.rb to config/environments/test_sqlite3.rb
@@ -1,7 +1,7
1 1 require 'action_web_service'
2 2
3 3 # These need to be in the load path for action_web_service to work
4 4 Dependencies.load_paths += ["#{RAILS_ROOT}/app/apis"]
5 5
6 6 # AWS Test helpers
7 require 'action_web_service/test_invoke' if ENV['RAILS_ENV'] == 'test'
7 require 'action_web_service/test_invoke' if ENV['RAILS_ENV'] && ENV['RAILS_ENV'] =~ /^test/
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now