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