install_theme 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. data/History.txt +19 -0
  2. data/Manifest.txt +0 -161
  3. data/Rakefile +1 -1
  4. data/lib/install_theme.rb +82 -26
  5. data/spec/install_theme_haml_spec.rb +28 -24
  6. data/spec/install_theme_spec.rb +35 -112
  7. metadata +9 -170
  8. data/spec/expected/rails/djclub/README +0 -243
  9. data/spec/expected/rails/djclub/Rakefile +0 -10
  10. data/spec/expected/rails/djclub/app/controllers/application_controller.rb +0 -10
  11. data/spec/expected/rails/djclub/app/helpers/application_helper.rb +0 -3
  12. data/spec/expected/rails/djclub/app/views/layouts/application.html.erb +0 -19
  13. data/spec/expected/rails/djclub/config/boot.rb +0 -110
  14. data/spec/expected/rails/djclub/config/database.yml +0 -22
  15. data/spec/expected/rails/djclub/config/environment.rb +0 -41
  16. data/spec/expected/rails/djclub/config/environments/development.rb +0 -17
  17. data/spec/expected/rails/djclub/config/environments/production.rb +0 -28
  18. data/spec/expected/rails/djclub/config/environments/test.rb +0 -28
  19. data/spec/expected/rails/djclub/config/initializers/backtrace_silencers.rb +0 -7
  20. data/spec/expected/rails/djclub/config/initializers/inflections.rb +0 -10
  21. data/spec/expected/rails/djclub/config/initializers/mime_types.rb +0 -5
  22. data/spec/expected/rails/djclub/config/initializers/new_rails_defaults.rb +0 -21
  23. data/spec/expected/rails/djclub/config/initializers/session_store.rb +0 -15
  24. data/spec/expected/rails/djclub/config/locales/en.yml +0 -5
  25. data/spec/expected/rails/djclub/config/routes.rb +0 -43
  26. data/spec/expected/rails/djclub/db/seeds.rb +0 -7
  27. data/spec/expected/rails/djclub/doc/README_FOR_APP +0 -2
  28. data/spec/expected/rails/djclub/public/404.html +0 -30
  29. data/spec/expected/rails/djclub/public/422.html +0 -30
  30. data/spec/expected/rails/djclub/public/500.html +0 -30
  31. data/spec/expected/rails/djclub/public/favicon.ico +0 -0
  32. data/spec/expected/rails/djclub/public/images/bodybg.gif +0 -0
  33. data/spec/expected/rails/djclub/public/images/contentbg.gif +0 -0
  34. data/spec/expected/rails/djclub/public/images/djset.gif +0 -0
  35. data/spec/expected/rails/djclub/public/images/footerbg.gif +0 -0
  36. data/spec/expected/rails/djclub/public/images/header.jpg +0 -0
  37. data/spec/expected/rails/djclub/public/images/leftbg.gif +0 -0
  38. data/spec/expected/rails/djclub/public/images/middlebg.gif +0 -0
  39. data/spec/expected/rails/djclub/public/images/navbottom.gif +0 -0
  40. data/spec/expected/rails/djclub/public/images/navtop.gif +0 -0
  41. data/spec/expected/rails/djclub/public/images/photos.jpg +0 -0
  42. data/spec/expected/rails/djclub/public/images/rails.png +0 -0
  43. data/spec/expected/rails/djclub/public/images/rightbg.gif +0 -0
  44. data/spec/expected/rails/djclub/public/images/timetoparty.jpg +0 -0
  45. data/spec/expected/rails/djclub/public/index.html +0 -275
  46. data/spec/expected/rails/djclub/public/javascripts/application.js +0 -2
  47. data/spec/expected/rails/djclub/public/javascripts/controls.js +0 -963
  48. data/spec/expected/rails/djclub/public/javascripts/dragdrop.js +0 -973
  49. data/spec/expected/rails/djclub/public/javascripts/effects.js +0 -1128
  50. data/spec/expected/rails/djclub/public/javascripts/prototype.js +0 -4320
  51. data/spec/expected/rails/djclub/public/robots.txt +0 -5
  52. data/spec/expected/rails/djclub/public/stylesheets/style.css +0 -191
  53. data/spec/expected/rails/djclub/script/about +0 -4
  54. data/spec/expected/rails/djclub/script/console +0 -3
  55. data/spec/expected/rails/djclub/script/dbconsole +0 -3
  56. data/spec/expected/rails/djclub/script/destroy +0 -3
  57. data/spec/expected/rails/djclub/script/generate +0 -3
  58. data/spec/expected/rails/djclub/script/performance/benchmarker +0 -3
  59. data/spec/expected/rails/djclub/script/performance/profiler +0 -3
  60. data/spec/expected/rails/djclub/script/plugin +0 -3
  61. data/spec/expected/rails/djclub/script/runner +0 -3
  62. data/spec/expected/rails/djclub/script/server +0 -3
  63. data/spec/expected/rails/djclub/test/performance/browsing_test.rb +0 -9
  64. data/spec/expected/rails/djclub/test/test_helper.rb +0 -38
  65. data/spec/expected/rails/webresourcedepot/README +0 -243
  66. data/spec/expected/rails/webresourcedepot/Rakefile +0 -10
  67. data/spec/expected/rails/webresourcedepot/app/controllers/application_controller.rb +0 -10
  68. data/spec/expected/rails/webresourcedepot/app/helpers/application_helper.rb +0 -3
  69. data/spec/expected/rails/webresourcedepot/app/views/layouts/application.html.erb +0 -48
  70. data/spec/expected/rails/webresourcedepot/config/boot.rb +0 -110
  71. data/spec/expected/rails/webresourcedepot/config/database.yml +0 -22
  72. data/spec/expected/rails/webresourcedepot/config/environment.rb +0 -41
  73. data/spec/expected/rails/webresourcedepot/config/environments/development.rb +0 -17
  74. data/spec/expected/rails/webresourcedepot/config/environments/production.rb +0 -28
  75. data/spec/expected/rails/webresourcedepot/config/environments/test.rb +0 -28
  76. data/spec/expected/rails/webresourcedepot/config/initializers/backtrace_silencers.rb +0 -7
  77. data/spec/expected/rails/webresourcedepot/config/initializers/inflections.rb +0 -10
  78. data/spec/expected/rails/webresourcedepot/config/initializers/mime_types.rb +0 -5
  79. data/spec/expected/rails/webresourcedepot/config/initializers/new_rails_defaults.rb +0 -21
  80. data/spec/expected/rails/webresourcedepot/config/initializers/session_store.rb +0 -15
  81. data/spec/expected/rails/webresourcedepot/config/locales/en.yml +0 -5
  82. data/spec/expected/rails/webresourcedepot/config/routes.rb +0 -43
  83. data/spec/expected/rails/webresourcedepot/db/seeds.rb +0 -7
  84. data/spec/expected/rails/webresourcedepot/doc/README_FOR_APP +0 -2
  85. data/spec/expected/rails/webresourcedepot/public/404.html +0 -30
  86. data/spec/expected/rails/webresourcedepot/public/422.html +0 -30
  87. data/spec/expected/rails/webresourcedepot/public/500.html +0 -30
  88. data/spec/expected/rails/webresourcedepot/public/favicon.ico +0 -0
  89. data/spec/expected/rails/webresourcedepot/public/images/Thumbs.db +0 -0
  90. data/spec/expected/rails/webresourcedepot/public/images/add-icon.gif +0 -0
  91. data/spec/expected/rails/webresourcedepot/public/images/arrow.gif +0 -0
  92. data/spec/expected/rails/webresourcedepot/public/images/bg-center-column.jpg +0 -0
  93. data/spec/expected/rails/webresourcedepot/public/images/bg-dotted.gif +0 -0
  94. data/spec/expected/rails/webresourcedepot/public/images/bg-footer.gif +0 -0
  95. data/spec/expected/rails/webresourcedepot/public/images/bg-header.gif +0 -0
  96. data/spec/expected/rails/webresourcedepot/public/images/bg-left-header.gif +0 -0
  97. data/spec/expected/rails/webresourcedepot/public/images/bg-left-link.gif +0 -0
  98. data/spec/expected/rails/webresourcedepot/public/images/bg-middle.gif +0 -0
  99. data/spec/expected/rails/webresourcedepot/public/images/bg-orange-button.gif +0 -0
  100. data/spec/expected/rails/webresourcedepot/public/images/bg-select.gif +0 -0
  101. data/spec/expected/rails/webresourcedepot/public/images/bg-th-left.gif +0 -0
  102. data/spec/expected/rails/webresourcedepot/public/images/bg-th-right.gif +0 -0
  103. data/spec/expected/rails/webresourcedepot/public/images/edit-icon.gif +0 -0
  104. data/spec/expected/rails/webresourcedepot/public/images/hr.gif +0 -0
  105. data/spec/expected/rails/webresourcedepot/public/images/login-icon.gif +0 -0
  106. data/spec/expected/rails/webresourcedepot/public/images/logo.gif +0 -0
  107. data/spec/expected/rails/webresourcedepot/public/images/rails.png +0 -0
  108. data/spec/expected/rails/webresourcedepot/public/images/save-icon.gif +0 -0
  109. data/spec/expected/rails/webresourcedepot/public/images/tab-active-left.gif +0 -0
  110. data/spec/expected/rails/webresourcedepot/public/images/tab-active-right.gif +0 -0
  111. data/spec/expected/rails/webresourcedepot/public/images/tab-active.gif +0 -0
  112. data/spec/expected/rails/webresourcedepot/public/images/tab-left.gif +0 -0
  113. data/spec/expected/rails/webresourcedepot/public/images/tab-right.gif +0 -0
  114. data/spec/expected/rails/webresourcedepot/public/images/tab.gif +0 -0
  115. data/spec/expected/rails/webresourcedepot/public/index.html +0 -275
  116. data/spec/expected/rails/webresourcedepot/public/javascripts/application.js +0 -2
  117. data/spec/expected/rails/webresourcedepot/public/javascripts/controls.js +0 -963
  118. data/spec/expected/rails/webresourcedepot/public/javascripts/dragdrop.js +0 -973
  119. data/spec/expected/rails/webresourcedepot/public/javascripts/effects.js +0 -1128
  120. data/spec/expected/rails/webresourcedepot/public/javascripts/prototype.js +0 -4320
  121. data/spec/expected/rails/webresourcedepot/public/robots.txt +0 -5
  122. data/spec/expected/rails/webresourcedepot/public/stylesheets/all.css +0 -334
  123. data/spec/expected/rails/webresourcedepot/test/performance/browsing_test.rb +0 -9
  124. data/spec/expected/rails/webresourcedepot/test/test_helper.rb +0 -38
  125. data/spec/fixtures/djclub/djclub.psd +0 -0
  126. data/spec/fixtures/djclub/images/bodybg.gif +0 -0
  127. data/spec/fixtures/djclub/images/contentbg.gif +0 -0
  128. data/spec/fixtures/djclub/images/djset.gif +0 -0
  129. data/spec/fixtures/djclub/images/footerbg.gif +0 -0
  130. data/spec/fixtures/djclub/images/header.jpg +0 -0
  131. data/spec/fixtures/djclub/images/leftbg.gif +0 -0
  132. data/spec/fixtures/djclub/images/middlebg.gif +0 -0
  133. data/spec/fixtures/djclub/images/navbottom.gif +0 -0
  134. data/spec/fixtures/djclub/images/navtop.gif +0 -0
  135. data/spec/fixtures/djclub/images/photos.jpg +0 -0
  136. data/spec/fixtures/djclub/images/rightbg.gif +0 -0
  137. data/spec/fixtures/djclub/images/timetoparty.jpg +0 -0
  138. data/spec/fixtures/djclub/index.html +0 -54
  139. data/spec/fixtures/djclub/style.css +0 -191
  140. data/spec/fixtures/webresourcedepot/README.md +0 -1
  141. data/spec/fixtures/webresourcedepot/css/all.css +0 -334
  142. data/spec/fixtures/webresourcedepot/img/Thumbs.db +0 -0
  143. data/spec/fixtures/webresourcedepot/img/add-icon.gif +0 -0
  144. data/spec/fixtures/webresourcedepot/img/arrow.gif +0 -0
  145. data/spec/fixtures/webresourcedepot/img/bg-center-column.jpg +0 -0
  146. data/spec/fixtures/webresourcedepot/img/bg-dotted.gif +0 -0
  147. data/spec/fixtures/webresourcedepot/img/bg-footer.gif +0 -0
  148. data/spec/fixtures/webresourcedepot/img/bg-header.gif +0 -0
  149. data/spec/fixtures/webresourcedepot/img/bg-left-header.gif +0 -0
  150. data/spec/fixtures/webresourcedepot/img/bg-left-link.gif +0 -0
  151. data/spec/fixtures/webresourcedepot/img/bg-middle.gif +0 -0
  152. data/spec/fixtures/webresourcedepot/img/bg-orange-button.gif +0 -0
  153. data/spec/fixtures/webresourcedepot/img/bg-select.gif +0 -0
  154. data/spec/fixtures/webresourcedepot/img/bg-th-left.gif +0 -0
  155. data/spec/fixtures/webresourcedepot/img/bg-th-right.gif +0 -0
  156. data/spec/fixtures/webresourcedepot/img/edit-icon.gif +0 -0
  157. data/spec/fixtures/webresourcedepot/img/hr.gif +0 -0
  158. data/spec/fixtures/webresourcedepot/img/login-icon.gif +0 -0
  159. data/spec/fixtures/webresourcedepot/img/logo.gif +0 -0
  160. data/spec/fixtures/webresourcedepot/img/save-icon.gif +0 -0
  161. data/spec/fixtures/webresourcedepot/img/tab-active-left.gif +0 -0
  162. data/spec/fixtures/webresourcedepot/img/tab-active-right.gif +0 -0
  163. data/spec/fixtures/webresourcedepot/img/tab-active.gif +0 -0
  164. data/spec/fixtures/webresourcedepot/img/tab-left.gif +0 -0
  165. data/spec/fixtures/webresourcedepot/img/tab-right.gif +0 -0
  166. data/spec/fixtures/webresourcedepot/img/tab.gif +0 -0
  167. data/spec/fixtures/webresourcedepot/index.html +0 -179
  168. data/spec/matchers/have_same_contents_as.rb +0 -18
@@ -1,5 +0,0 @@
1
- # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
- #
3
- # To ban all spiders from the entire site uncomment the next two lines:
4
- # User-Agent: *
5
- # Disallow: /
@@ -1,334 +0,0 @@
1
- /* main styles */
2
- body {
3
- margin:0;
4
- padding:0;
5
- background:#BBD9EE;
6
- color:#000;
7
- font-family:tahoma,arial,sans-serif;
8
- font-size:11px;
9
- }
10
- form {
11
- margin:0;
12
- padding:0
13
- }
14
- img {border:none;}
15
- a {color:#060606;text-decoration: none}
16
- a:hover {text-decoration: underline}
17
- input {vertical-align:middle}
18
- .floatleft {float:left !important}
19
- .floatright {float:right !important}
20
- .clear {clear:both !important}
21
- .bold {font-weight:bold !important}
22
- .normal {font-weight:normal !important}
23
- .block {display:block !important}
24
- input.text,
25
- select,
26
- textarea {
27
- font-family:arial,sans-serif;
28
- color:#333;
29
- font-size:12px;
30
- vertical-align:middle;
31
- }
32
- input.text {
33
- padding:1px 0 0 4px;
34
- height:14px;
35
- font-weight:normal;
36
- }
37
- /* main container */
38
- #main {
39
- width:992px;
40
- margin:0 auto;
41
- }
42
- /* header */
43
- #header {
44
- position:relative;
45
- width:992px;
46
- height:106px;
47
- background:url(/images/bg-header.gif) no-repeat left bottom;
48
- }
49
- /* site logo */
50
- a.logo {
51
- position:absolute;
52
- top:5px;
53
- left:20px;
54
- }
55
-
56
- /* header tabs */
57
- #top-navigation {
58
- position:absolute;
59
- top:60px;
60
- left:20px;
61
- margin:0;
62
- padding:0;
63
- list-style:none;
64
- }
65
- #top-navigation li {
66
- float:left;
67
- margin:0 3px 0 0;
68
- height:34px;
69
- background:url(/images/tab.gif) repeat-x top;
70
- }
71
- #top-navigation li a {
72
- float:left;
73
- display:block;
74
- height:20px;
75
- line-height:19px;
76
- color:#606060;
77
- padding:4px 0 0 0;
78
- }
79
- #top-navigation li span {
80
- float:left;
81
- background:url(/images/tab-left.gif) no-repeat left top;
82
- }
83
- #top-navigation li span span {
84
- background:url(/images/tab-right.gif) no-repeat right top;
85
- padding:7px 10px 0 10px;
86
- }
87
- #top-navigation li.active {
88
- padding:0;
89
- height:34px;
90
- background:url(/images/tab-active.gif) repeat-x top;
91
- margin-right:2px;
92
- }
93
- #top-navigation li.active span {
94
- background:url(/images/tab-active-left.gif) no-repeat left top;
95
- height:34px;
96
- }
97
- #top-navigation li.active span span {
98
- background:url(/images/tab-active-right.gif) no-repeat right top;
99
- height:23px;
100
- padding:11px 10px 0 10px;
101
- line-height:19px;
102
- color:#606060;
103
- }
104
-
105
- /* middle */
106
- #middle {
107
- float:left;
108
- width:967px;
109
- background:url(/images/bg-middle.gif) repeat-y left;
110
- padding:0 13px 0 12px;
111
- }
112
- /* left column */
113
- #left-column {
114
- float:left;
115
- padding:1px 14px 0 12px;
116
- width:151px;
117
- }
118
- /* right column */
119
- #right-column {
120
- float:right;
121
- padding:0 9px 0 0;
122
- width:133px;
123
- }
124
- /* center column */
125
- #center-column {
126
- float:left;
127
- width:614px;
128
- background:url(/images/bg-center-column.jpg) no-repeat left top;
129
- min-height:584px;
130
- padding:12px 16px 0 13px;
131
- }
132
- * html #center-column {height:584px;}
133
-
134
- /* footer */
135
- #footer {
136
- float:left;
137
- width:100%;
138
- background:url(/images/bg-footer.gif) no-repeat;
139
- height:15px;
140
- }
141
-
142
- /* left column styles */
143
- #left-column a {color:#3E3E3E;}
144
- #left-column h3 {
145
- font-size:11px;
146
- margin:0;
147
- color:#fff;
148
- background:url(/images/bg-left-header.gif) no-repeat left top;
149
- height:25px;
150
- line-height:23px;
151
- padding:0 0 0 9px;
152
- }
153
- ul.nav {
154
- margin:0 0 11px 0;
155
- border-bottom:2px solid #FF9600;
156
- background:#ECEFE7;
157
- list-style:none;
158
- padding:0 2px;
159
- }
160
- ul.nav li {
161
- padding:4px 4px 6px 5px;
162
- background:url(/images/bg-dotted.gif) repeat-x bottom;
163
- }
164
- ul.nav a {
165
- padding:0 0 0 12px;
166
- background:url(/images/arrow.gif) no-repeat 0 4px;
167
- }
168
- ul.nav a:hover {
169
- font-weight:bold;
170
- }
171
- ul.nav li.last {background:none;}
172
-
173
- #left-column .link {
174
- display:block;
175
- width:142px;
176
- height:25px;
177
- background:url(/images/bg-left-link.gif);
178
- margin:0 0 4px 0;
179
- font-weight:bold;
180
- padding:0 0 0 9px;
181
- line-height:25px;
182
- color:#60635A;
183
- }
184
-
185
- /* center column styles */
186
- .top-bar {
187
- float:left;
188
- width:603px;
189
- border-left:2px solid #f70;
190
- padding:0 0 0 9px;
191
- margin:0 0 4px 0;
192
- }
193
- /* text page header */
194
- .top-bar h1 {
195
- font:20px/21px verdana,sans-serif;
196
- color:#43729F;
197
- margin:0 0 4px 0;
198
- }
199
- /* orange button */
200
- .top-bar a.button {
201
- float:right;
202
- display:block;
203
- width:75px;
204
- height:35px;
205
- text-align:center;
206
- color:#fff;
207
- text-transform:uppercase;
208
- font-weight:bold;
209
- line-height:27px;
210
- background:url(/images/bg-orange-button.gif) no-repeat;
211
- }
212
-
213
- /* bar with select */
214
- .select-bar {
215
- clear:both;
216
- border-top:2px solid #f70;
217
- border-bottom:2px solid #f70;
218
- padding:5px 0 3px 0;
219
- margin:0 0 17px 0;
220
- }
221
- .select-bar select {width:145px;margin:0 2px;}
222
-
223
- /* table container */
224
- div.table {
225
- float:left;
226
- position:relative;
227
- width:614px;
228
- margin:0 0 37px 0;
229
- }
230
- table.listing {
231
- border-bottom:1px solid #9097A9;
232
- width:613px;
233
- padding:0;
234
- margin:0;
235
- border:1px solid #9097A9;
236
- }
237
- table.listing th {
238
- border-top:0 !important;
239
- }
240
- table.listing th.full {border-left:0;border-right:0 !important;text-align:left;text-transform:uppercase;}
241
- div.table img.left {
242
- position:absolute;
243
- top:0;
244
- left:0;
245
- }
246
- div.table img.right {
247
- position:absolute;
248
- top:0;
249
- right:1px;
250
- }
251
- /* table styles */
252
- table.listing td,
253
- table.listing th {
254
- border:1px solid #fff;
255
- text-align:center;
256
- }
257
- table.listing th {
258
- background:#9097A9;
259
- color:#fff;
260
- padding:5px;
261
- }
262
- table.listing td {
263
- background:#D8D8D8;
264
- color:#000;
265
- padding:3px 5px;
266
- }
267
- table.listing .bg td {
268
- background:#ECECEC;
269
- }
270
- table.listing .white td {
271
- background:#fff;
272
- }
273
- table.listing .first {border-left:0px solid #9097A9;text-align:left;}
274
- table.listing .last {border-right:0px solid #9097A9;}
275
-
276
- table.listing th.first {background:#9097A9 url(/images/bg-th-left.gif) no-repeat left top;border-left:0;}
277
- table.listing th.last {background:#9097A9 url(/images/bg-th-right.gif) no-repeat right top;border-right:0;}
278
-
279
- table.listing .style1 {font-weight:bold;color:#FF7A00;}
280
- table.listing .style2 {font-weight:bold;padding-left:16px;}
281
- table.listing .style3 {padding-left:25px;}
282
- table.listing .style4 {padding-left:35px;}
283
- table.form .last {padding:1px 0 1px 5px;text-align:left;}
284
- table.form th,
285
- table.form td {padding-left:10px;}
286
- table.form input.text {width:262px}
287
-
288
- /* table select */
289
- div.table .select {
290
- float:right;
291
- margin:2px 1px 0 0;
292
- width:176px;
293
- height:25px;
294
- background:#9097A9 url(/images/bg-select.gif);
295
- color:#fff;
296
- }
297
- div.table .select strong {
298
- float:left;
299
- padding:5px 0 0 5px;
300
- }
301
- div.table .select select {
302
- float:right;
303
- width:78px;
304
- margin:2px 3px 0 0;
305
- text-align:right;
306
- }
307
-
308
- /* right column header */
309
- #right-column .h {
310
- float:left;
311
- background:#7E878A;
312
- border:1px solid #B8B8B8;
313
- border-bottom:0;
314
- padding:3px 10px;
315
- color:#fff;
316
- text-transform:uppercase;
317
- }
318
- /* right column box */
319
- #right-column .box {
320
- float:left;
321
- width:121px;
322
- padding:5px;
323
- border:1px solid #B8B8B8;
324
- background:#EBEBEB;
325
- margin:0 0 15px 0;
326
- }
327
-
328
- /* right column buttons */
329
- .buttons {
330
- clear:both;
331
- text-align:center;
332
- padding:30px 0 15px 0;
333
- }
334
- .buttons input {margin:0 0 6px 0;}
@@ -1,9 +0,0 @@
1
- require 'test_helper'
2
- require 'performance_test_help'
3
-
4
- # Profiling results for each test method are written to tmp/performance.
5
- class BrowsingTest < ActionController::PerformanceTest
6
- def test_homepage
7
- get '/'
8
- end
9
- end
@@ -1,38 +0,0 @@
1
- ENV["RAILS_ENV"] = "test"
2
- require File.expand_path(File.dirname(__FILE__) + "/../config/environment")
3
- require 'test_help'
4
-
5
- class ActiveSupport::TestCase
6
- # Transactional fixtures accelerate your tests by wrapping each test method
7
- # in a transaction that's rolled back on completion. This ensures that the
8
- # test database remains unchanged so your fixtures don't have to be reloaded
9
- # between every test method. Fewer database queries means faster tests.
10
- #
11
- # Read Mike Clark's excellent walkthrough at
12
- # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting
13
- #
14
- # Every Active Record database supports transactions except MyISAM tables
15
- # in MySQL. Turn off transactional fixtures in this case; however, if you
16
- # don't care one way or the other, switching from MyISAM to InnoDB tables
17
- # is recommended.
18
- #
19
- # The only drawback to using transactional fixtures is when you actually
20
- # need to test transactions. Since your test is bracketed by a transaction,
21
- # any transactions started in your code will be automatically rolled back.
22
- self.use_transactional_fixtures = true
23
-
24
- # Instantiated fixtures are slow, but give you @david where otherwise you
25
- # would need people(:david). If you don't want to migrate your existing
26
- # test cases which use the @david style and don't mind the speed hit (each
27
- # instantiated fixtures translates to a database query per test method),
28
- # then set this back to true.
29
- self.use_instantiated_fixtures = false
30
-
31
- # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
32
- #
33
- # Note: You'll currently still have to declare fixtures explicitly in integration tests
34
- # -- they do not yet inherit this setting
35
- fixtures :all
36
-
37
- # Add more helper methods to be used by all tests here...
38
- end
@@ -1,54 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" />
5
- <link href="style.css" rel="stylesheet" type="text/css" />
6
- <title>DJ Club template</title>
7
- </head>
8
-
9
- <body>
10
- <div id="container">
11
- <div id="header">
12
- <ul>
13
- <li id="navtop"></li>
14
- <li><a class="link" href="http://www.freewebsitetemplates">Home</a></li>
15
- <li><a class="link" href="http://www.freewebsitetemplates">Parties</a></li>
16
- <li><a class="link" href="http://www.freewebsitetemplates">Gallery</a></li>
17
- <li><a class="link" href="http://www.freewebsitetemplates">Flyers</a></li>
18
- <li><a class="link" href="http://www.freewebsitetemplates">About us</a></li>
19
- <li><a id="last" href="http://www.freewebsitetemplates">Contact us</a></li>
20
- <li id="navbottom"></li>
21
- </ul>
22
- </div>
23
- <div id="content">
24
- <div id="left">
25
- <h3>NEWS &amp; UPDATES</h3>
26
- <p>Don't forgot to check <a href="http://www.freewebsitetemplates.com">free website templates</a> every day, because we add at least one free website template daily.</p>
27
-
28
- <p>This is a template designed by free website templates for you for free you can replace all the text by your own
29
- text. This is just a place holder so you can see how the site would look like.</p>
30
-
31
- <p>You can remove any link to our websites from this template you're free to use the template without linking
32
- back to us.</p>
33
- <br /><br /><br /><br /><br /><br />
34
- <img id="djset" src="images/djset.gif" alt="djset" />
35
- </div>
36
- <div id="middle">
37
- <h3>PHOTOS and VIDEOS</h3>
38
- <p>If you're looking for beautiful and professionally made templates you can find them at <a href="http://www.templatebeauty.com">Template Beauty</a>.</p>
39
- <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
40
- <a href="http://www.freewebsitetemplates"><img id="photos" src="images/photos.jpg" alt="djset" /></a>
41
- </div>
42
- <div id="right">
43
- <a href="http://www.freewebsitetemplates"><img src="images/timetoparty.jpg" alt="time to party" /></a>
44
- <p>To find great hosting providers visit <a href="http://www.webhostingzoom.com">Web Hosting Zoom</a></p>
45
- </div>
46
- <div class="clear"></div>
47
- <div id="footer">
48
- <p>&copy; Copyright information goes here.All rights reserved.</p>
49
- </div>
50
- </div>
51
-
52
- </div>
53
- </body>
54
- </html>