test_track 0.0.1 → 0.0.3

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 (62) hide show
  1. data/README.md +80 -0
  2. data/Rakefile +4 -21
  3. data/app/controllers/test_track/tests_controller.rb +3 -3
  4. data/app/views/test_track/tests/index.html.erb +7 -7
  5. data/app/views/test_track/tests/jasmine.html.erb +1 -1
  6. data/app/views/test_track/tests/qunit.html.erb +9 -9
  7. data/config/routes.rb +2 -2
  8. data/lib/test_track/engine.rb +6 -3
  9. data/lib/test_track/version.rb +1 -1
  10. data/lib/test_track.rb +15 -19
  11. data/test/dummy/app/assets/javascripts/application.js +2 -3
  12. data/test/dummy/app/assets/javascripts/player.js +24 -0
  13. data/test/dummy/app/assets/javascripts/song.js +7 -0
  14. data/test/dummy/app/assets/javascripts/test/qunit.js +1 -0
  15. data/test/dummy/app/views/layouts/application.html.erb +0 -1
  16. data/test/dummy/config/application.rb +5 -1
  17. data/test/dummy/config/environments/development.rb +0 -18
  18. data/test/dummy/config/environments/production.rb +0 -42
  19. data/test/dummy/config/environments/test.rb +0 -28
  20. data/test/dummy/config/initializers/test_track.rb +3 -0
  21. data/test/dummy/config/routes.rb +3 -56
  22. data/test/dummy/log/development.log +249 -0
  23. data/test/dummy/spec/javascripts/helpers/spec_helper.js +10 -0
  24. data/test/dummy/spec/javascripts/jasmine.js +9 -0
  25. data/test/dummy/spec/javascripts/jasmine_examples/player_spec.js.coffee +48 -0
  26. data/test/dummy/spec/javascripts/test_spec.js.coffee +10 -0
  27. data/test/dummy/test/javascripts/qunit_example.js +9 -0
  28. data/test/dummy/tmp/cache/assets/C73/FE0/sprockets%2F7654c9875816c385ed75764e327456cf +0 -0
  29. data/test/dummy/tmp/cache/assets/C88/9C0/sprockets%2Ffc16ec1bd513161f2516982931976b88 +0 -0
  30. data/test/dummy/tmp/cache/assets/CA9/780/sprockets%2F5518381f8130b2f0ab37890446cc8ba5 +0 -0
  31. data/test/dummy/tmp/cache/assets/CB8/A70/sprockets%2Fd69ece2c66002e6445530b04f499f593 +0 -0
  32. data/test/dummy/tmp/cache/assets/CBE/430/sprockets%2F94fb0d0924ac757662793e67b9e244b4 +0 -0
  33. data/test/dummy/tmp/cache/assets/CDE/B50/sprockets%2F65680ea711329a483b5e78a3b218c3ee +0 -0
  34. data/test/dummy/tmp/cache/assets/CF2/820/sprockets%2Fbf724471a612e0ab5b44b01a34243b8f +0 -0
  35. data/test/dummy/tmp/cache/assets/CF3/540/sprockets%2F301a41e68e879890297cc5fe1ba8957c +0 -0
  36. data/test/dummy/tmp/cache/assets/D23/D20/sprockets%2F93ccd58e9bb379d5936bd516573c0a78 +0 -0
  37. data/test/dummy/tmp/cache/assets/D32/6B0/sprockets%2F4bd8c18d2ae32ac6e81b3d481562d161 +0 -0
  38. data/test/dummy/tmp/cache/assets/D37/7B0/sprockets%2F17ac92c241725deaf19677d422c6dab2 +0 -0
  39. data/test/dummy/tmp/cache/assets/D38/DF0/sprockets%2F4942f4adbe676f444da602d82e2311dc +0 -0
  40. data/test/dummy/tmp/cache/assets/D6C/E80/sprockets%2Fba564427e32c02e612efb85dfb7a839b +0 -0
  41. data/test/dummy/tmp/cache/assets/D78/AA0/sprockets%2Fd9a7b791fe846bfc2ab15890df1153d8 +0 -0
  42. data/test/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  43. data/test/dummy/tmp/cache/assets/D96/660/sprockets%2Fac79fd11b3a84e3e775c1f21cb5dd144 +0 -0
  44. data/test/dummy/tmp/cache/assets/D9C/520/sprockets%2Ffbcb374b79f13d1a1a004a3c989fb6e9 +0 -0
  45. data/test/dummy/tmp/cache/assets/D9D/BC0/sprockets%2Fccf044c9045cfad33d48280c3c48ff4e +0 -0
  46. data/test/dummy/tmp/cache/assets/DA0/DD0/sprockets%2Fa1add25c3825c15cc8a6be5917b96fe6 +0 -0
  47. data/test/dummy/tmp/cache/assets/DAA/CE0/sprockets%2Fd9d447b38d39c539a841f7bdc62baf4d +0 -0
  48. data/test/dummy/tmp/cache/assets/DB1/260/sprockets%2Fd6c1c8b4990d7ebc2e5e95388e19daa8 +0 -0
  49. data/test/dummy/tmp/cache/assets/DC6/9B0/sprockets%2F91ef1ca0ef363be62f4a38fb3fbc2291 +0 -0
  50. data/test/dummy/tmp/cache/assets/DC7/F00/sprockets%2F6909b9bb5dcd51cf3b18bd01f51efc60 +0 -0
  51. data/test/dummy/tmp/cache/assets/DDE/D20/sprockets%2Fb8d8382f8065b1cf95e613ceaebcc98f +0 -0
  52. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  53. data/test/dummy/tmp/cache/assets/E5D/080/sprockets%2F71acf7bcbaf94bbaec8ad7189d3e8c30 +0 -0
  54. metadata +123 -54
  55. data/README.rdoc +0 -3
  56. data/lib/tasks/test_track.rake +0 -4
  57. data/test/dummy/app/assets/stylesheets/application.css +0 -7
  58. data/test/dummy/app/helpers/application_helper.rb +0 -2
  59. data/test/dummy/config/database.yml +0 -25
  60. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  61. data/test/dummy/config/initializers/inflections.rb +0 -10
  62. data/test/dummy/config/initializers/mime_types.rb +0 -5
@@ -0,0 +1,249 @@
1
+
2
+
3
+ Started GET "/js_test" for 127.0.0.1 at 2011-08-30 09:39:58 -0600
4
+
5
+ ActionController::RoutingError (No route matches [GET] "/js_test"):
6
+
7
+
8
+ Rendered /Users/ryancook/.rvm/gems/ruby-1.9.2-p180@test_track/gems/actionpack-3.1.0.rc8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (7.8ms)
9
+
10
+
11
+ Started GET "/js_test" for 127.0.0.1 at 2011-08-30 09:41:24 -0600
12
+ Processing by TestTrack::TestsController#index as HTML
13
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/index.html.erb (33.6ms)
14
+ Completed 200 OK in 61ms (Views: 61.0ms)
15
+
16
+
17
+ Started GET "/js_test" for 127.0.0.1 at 2011-08-30 09:59:51 -0600
18
+
19
+ ActionController::RoutingError (No route matches [GET] "/js_test"):
20
+
21
+
22
+ Rendered /Users/ryancook/.rvm/gems/ruby-1.9.2-p180@test_track/gems/actionpack-3.1.0.rc8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (7.6ms)
23
+
24
+
25
+ Started GET "/js_test" for 127.0.0.1 at 2011-08-30 10:01:09 -0600
26
+ Processing by TestTrack::TestsController#index as HTML
27
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/index.html.erb (8.8ms)
28
+ Completed 200 OK in 38ms (Views: 37.6ms)
29
+
30
+
31
+ Started GET "/js_test" for 127.0.0.1 at 2011-08-30 10:18:27 -0600
32
+ Processing by TestTrack::TestsController#index as HTML
33
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/index.html.erb (34.0ms)
34
+ Completed 200 OK in 62ms (Views: 61.6ms)
35
+
36
+
37
+ Started GET "/js_test" for 127.0.0.1 at 2011-08-30 10:18:58 -0600
38
+ Processing by TestTrack::TestsController#index as HTML
39
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/index.html.erb (33.6ms)
40
+ Completed 200 OK in 61ms (Views: 60.9ms)
41
+
42
+
43
+ Started GET "/js_test/jasmine" for 127.0.0.1 at 2011-08-30 10:19:00 -0600
44
+ Processing by TestTrack::TestsController#jasmine as HTML
45
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/jasmine.html.erb (1.2ms)
46
+ Completed 200 OK in 6ms (Views: 5.9ms)
47
+
48
+
49
+ Started GET "/assets/test_track/jasmine_suite.js" for 127.0.0.1 at 2011-08-30 10:19:00 -0600
50
+ Compiled test_track/jasmine_suite.js (15ms) (pid 10064)
51
+ Compiled jasmine/jasmine.js (3ms) (pid 10064)
52
+ Compiled jasmine/jasmine-html.js (0ms) (pid 10064)
53
+ Compiled sinon/sinon-1.1.1.js (1ms) (pid 10064)
54
+ Compiled sinon/jasmine-sinon.js (0ms) (pid 10064)
55
+ Served asset /test_track/jasmine_suite.js - 200 OK (123ms)
56
+
57
+
58
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-30 10:19:00 -0600
59
+ Error compiling asset application.js:
60
+ Sprockets::FileNotFound: couldn't find file 'jquery'
61
+ (in /Users/ryancook/Workspace/open_source/test_track/test/dummy/app/assets/javascripts/application.js:7)
62
+ Served asset /application.js - 500 Internal Server Error
63
+
64
+
65
+
66
+ Started GET "/assets/jasmine.js" for 127.0.0.1 at 2011-08-30 10:19:00 -0600
67
+ Compiled jasmine.js (5ms) (pid 10064)
68
+ Compiled helpers/spec_helper.js (0ms) (pid 10064)
69
+ Error compiling asset jasmine.js:
70
+ LoadError: no such file to load -- coffee_script
71
+ (in /Users/ryancook/Workspace/open_source/test_track/test/dummy/spec/javascripts/test_spec.js.coffee)
72
+ Served asset /jasmine.js - 500 Internal Server Error
73
+
74
+
75
+
76
+ Started GET "/assets/jasmine/jasmine.css" for 127.0.0.1 at 2011-08-30 10:19:00 -0600
77
+ Compiled jasmine/jasmine.css (0ms) (pid 10064)
78
+ Served asset /jasmine/jasmine.css - 200 OK (21ms)
79
+
80
+
81
+ Started GET "/js_test/jasmine" for 127.0.0.1 at 2011-08-30 10:19:02 -0600
82
+ Processing by TestTrack::TestsController#jasmine as HTML
83
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/jasmine.html.erb (0.7ms)
84
+ Completed 200 OK in 6ms (Views: 5.4ms)
85
+
86
+
87
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-30 10:19:02 -0600
88
+ Error compiling asset application.js:
89
+ Sprockets::FileNotFound: couldn't find file 'jquery'
90
+ (in /Users/ryancook/Workspace/open_source/test_track/test/dummy/app/assets/javascripts/application.js:7)
91
+ Served asset /application.js - 500 Internal Server Error
92
+
93
+
94
+
95
+ Started GET "/assets/jasmine.js" for 127.0.0.1 at 2011-08-30 10:19:02 -0600
96
+ Compiled jasmine.js (2ms) (pid 10064)
97
+ Error compiling asset jasmine.js:
98
+ LoadError: no such file to load -- coffee_script
99
+ (in /Users/ryancook/Workspace/open_source/test_track/test/dummy/spec/javascripts/test_spec.js.coffee)
100
+ Served asset /jasmine.js - 500 Internal Server Error
101
+
102
+
103
+
104
+ Started GET "/assets/jasmine/jasmine.css" for 127.0.0.1 at 2011-08-30 10:19:02 -0600
105
+ Served asset /jasmine/jasmine.css - 304 Not Modified (0ms)
106
+
107
+
108
+ Started GET "/assets/test_track/jasmine_suite.js" for 127.0.0.1 at 2011-08-30 10:19:02 -0600
109
+ Served asset /test_track/jasmine_suite.js - 304 Not Modified (0ms)
110
+
111
+
112
+ Started GET "/js_test/jasmine" for 127.0.0.1 at 2011-08-30 10:19:05 -0600
113
+ Processing by TestTrack::TestsController#jasmine as HTML
114
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/jasmine.html.erb (0.7ms)
115
+ Completed 200 OK in 6ms (Views: 5.8ms)
116
+
117
+
118
+ Started GET "/assets/jasmine/jasmine.css" for 127.0.0.1 at 2011-08-30 10:19:05 -0600
119
+ Served asset /jasmine/jasmine.css - 304 Not Modified (0ms)
120
+
121
+
122
+ Started GET "/assets/test_track/jasmine_suite.js" for 127.0.0.1 at 2011-08-30 10:19:05 -0600
123
+ Served asset /test_track/jasmine_suite.js - 304 Not Modified (0ms)
124
+
125
+
126
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-30 10:19:05 -0600
127
+ Error compiling asset application.js:
128
+ Sprockets::FileNotFound: couldn't find file 'jquery'
129
+ (in /Users/ryancook/Workspace/open_source/test_track/test/dummy/app/assets/javascripts/application.js:7)
130
+ Served asset /application.js - 500 Internal Server Error
131
+
132
+
133
+
134
+ Started GET "/assets/jasmine.js" for 127.0.0.1 at 2011-08-30 10:19:05 -0600
135
+ Compiled jasmine.js (2ms) (pid 10064)
136
+ Error compiling asset jasmine.js:
137
+ LoadError: no such file to load -- coffee_script
138
+ (in /Users/ryancook/Workspace/open_source/test_track/test/dummy/spec/javascripts/test_spec.js.coffee)
139
+ Served asset /jasmine.js - 500 Internal Server Error
140
+
141
+
142
+
143
+ Started GET "/js_test/jasmine" for 127.0.0.1 at 2011-08-30 10:21:53 -0600
144
+ Processing by TestTrack::TestsController#jasmine as HTML
145
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/jasmine.html.erb (8.9ms)
146
+ Completed 200 OK in 38ms (Views: 37.6ms)
147
+
148
+
149
+ Started GET "/assets/jasmine/jasmine.css" for 127.0.0.1 at 2011-08-30 10:21:54 -0600
150
+ Served asset /jasmine/jasmine.css - 304 Not Modified (9ms)
151
+
152
+
153
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-30 10:21:54 -0600
154
+ Error compiling asset application.js:
155
+ Sprockets::FileNotFound: couldn't find file 'jquery'
156
+ (in /Users/ryancook/Workspace/open_source/test_track/test/dummy/app/assets/javascripts/application.js:7)
157
+ Served asset /application.js - 500 Internal Server Error
158
+
159
+
160
+
161
+ Started GET "/assets/jasmine.js" for 127.0.0.1 at 2011-08-30 10:21:54 -0600
162
+ Compiled jasmine.js (3ms) (pid 10384)
163
+ Compiled test_spec.js (291ms) (pid 10384)
164
+ Compiled jasmine_examples/player_spec.js (169ms) (pid 10384)
165
+ Served asset /jasmine.js - 200 OK (557ms)
166
+
167
+
168
+ Started GET "/assets/test_track/jasmine_suite.js" for 127.0.0.1 at 2011-08-30 10:21:54 -0600
169
+ Served asset /test_track/jasmine_suite.js - 304 Not Modified (13ms)
170
+
171
+
172
+ Started GET "/js_test/jasmine" for 127.0.0.1 at 2011-08-30 10:22:56 -0600
173
+ Processing by TestTrack::TestsController#jasmine as HTML
174
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/jasmine.html.erb (0.8ms)
175
+ Completed 200 OK in 6ms (Views: 5.7ms)
176
+
177
+
178
+ Started GET "/assets/test_track/jasmine_suite.js" for 127.0.0.1 at 2011-08-30 10:22:57 -0600
179
+ Served asset /test_track/jasmine_suite.js - 304 Not Modified (0ms)
180
+
181
+
182
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-30 10:22:57 -0600
183
+ Compiled application.js (16ms) (pid 10384)
184
+ Compiled player.js (0ms) (pid 10384)
185
+ Compiled song.js (0ms) (pid 10384)
186
+ Served asset /application.js - 200 OK (91ms)
187
+
188
+
189
+ Started GET "/assets/jasmine.js" for 127.0.0.1 at 2011-08-30 10:22:57 -0600
190
+ Served asset /jasmine.js - 304 Not Modified (0ms)
191
+
192
+
193
+ Started GET "/assets/jasmine/jasmine.css" for 127.0.0.1 at 2011-08-30 10:22:57 -0600
194
+ Served asset /jasmine/jasmine.css - 304 Not Modified (0ms)
195
+
196
+
197
+ Started GET "/js_test/qunit" for 127.0.0.1 at 2011-08-30 10:23:48 -0600
198
+ Processing by TestTrack::TestsController#qunit as HTML
199
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/qunit.html.erb (1.2ms)
200
+ Completed 200 OK in 6ms (Views: 5.7ms)
201
+
202
+
203
+ Started GET "/assets/qunit/qunit.css" for 127.0.0.1 at 2011-08-30 10:23:48 -0600
204
+ Compiled qunit/qunit.css (0ms) (pid 10384)
205
+ Served asset /qunit/qunit.css - 200 OK (24ms)
206
+
207
+
208
+ Started GET "/assets/test_track/qunit_suite.js" for 127.0.0.1 at 2011-08-30 10:23:48 -0600
209
+ Compiled test_track/qunit_suite.js (9ms) (pid 10384)
210
+ Compiled qunit/qunit.js (1ms) (pid 10384)
211
+ Compiled sinon/sinon-qunit-1.0.0.js (1ms) (pid 10384)
212
+ Served asset /test_track/qunit_suite.js - 200 OK (60ms)
213
+
214
+
215
+ Started GET "/assets/qunit.js" for 127.0.0.1 at 2011-08-30 10:23:48 -0600
216
+ Served asset /qunit.js - 404 Not Found (6ms)
217
+
218
+ ActionController::RoutingError (No route matches [GET] "/assets/qunit.js"):
219
+
220
+
221
+ Rendered /Users/ryancook/.rvm/gems/ruby-1.9.2-p180@test_track/gems/actionpack-3.1.0.rc8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
222
+
223
+
224
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-30 10:23:48 -0600
225
+ Served asset /application.js - 304 Not Modified (0ms)
226
+
227
+
228
+ Started GET "/js_test/qunit" for 127.0.0.1 at 2011-08-30 10:24:28 -0600
229
+ Processing by TestTrack::TestsController#qunit as HTML
230
+ Rendered /Users/ryancook/Workspace/open_source/test_track/app/views/test_track/tests/qunit.html.erb (9.3ms)
231
+ Completed 200 OK in 39ms (Views: 38.5ms)
232
+
233
+
234
+ Started GET "/assets/test_track/qunit_suite.js" for 127.0.0.1 at 2011-08-30 10:24:28 -0600
235
+ Served asset /test_track/qunit_suite.js - 304 Not Modified (16ms)
236
+
237
+
238
+ Started GET "/assets/qunit/qunit.css" for 127.0.0.1 at 2011-08-30 10:24:28 -0600
239
+ Served asset /qunit/qunit.css - 304 Not Modified (2ms)
240
+
241
+
242
+ Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-30 10:24:28 -0600
243
+ Served asset /application.js - 304 Not Modified (5ms)
244
+
245
+
246
+ Started GET "/assets/test/qunit.js" for 127.0.0.1 at 2011-08-30 10:24:28 -0600
247
+ Compiled test/qunit.js (1ms) (pid 10436)
248
+ Compiled qunit_example.js (0ms) (pid 10436)
249
+ Served asset /test/qunit.js - 200 OK (15ms)
@@ -0,0 +1,10 @@
1
+ beforeEach(function() {
2
+ this.addMatchers({
3
+ toBePlaying: function(expectedSong) {
4
+ var player = this.actual;
5
+ return player.currentlyPlayingSong === expectedSong
6
+ && player.isPlaying;
7
+ }
8
+ })
9
+ });
10
+
@@ -0,0 +1,9 @@
1
+ // This is a manifest file that'll be compiled into including all the files listed below.
2
+ // Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3
+ // be included in the compiled file accessible from http://example.com/assets/application.js
4
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
+ // the compiled file.
6
+ //
7
+ //= require helpers/spec_helper
8
+ //= require test_spec
9
+ //= require jasmine_examples/player_spec
@@ -0,0 +1,48 @@
1
+ describe 'Player' , ->
2
+
3
+ beforeEach ->
4
+ @player = new Player()
5
+ @song = new Song()
6
+
7
+ it 'should be able to play a Song' , ->
8
+ @player.play @song
9
+ expect( @player.currentlyPlayingSong ).toEqual @song
10
+
11
+ # demonstrates use of custom matcher
12
+ expect( @player ).toBePlaying @song
13
+
14
+ describe 'when song has been paused' , ->
15
+
16
+ beforeEach ->
17
+ @player.play @song
18
+ @player.pause()
19
+
20
+ it 'should indicate that the song is currently paused' , ->
21
+ expect( @player.isPlaying ).toBeFalsy()
22
+
23
+ # demonstrates the use of 'not' with a custom matcher
24
+ expect( @player ).not.toBePlaying @song
25
+
26
+ it 'should be possible to resume' , ->
27
+ @player.resume()
28
+ expect( @player.isPlaying ).toBeTruthy()
29
+ expect( @player.currentlyPlayingSong ).toEqual @song
30
+
31
+ # demonstrates use of spies to intercept and test method calls
32
+ xit 'tells the current song if the user has made it a favorite' , ->
33
+ spy = sinon.spy @song, 'persistFavoriteStatus'
34
+
35
+ @player.play @song
36
+ @player.makeFavorite()
37
+
38
+ expect( spy ).toHaveBeenCalled()
39
+
40
+ # demonstrates use of expected exceptions
41
+ describe '#resume' , ->
42
+ it 'should throw an exception if song is already playing' , ->
43
+ @player.play @song
44
+
45
+ expect =>
46
+ @player.resume()
47
+ .toThrow 'song is already playing'
48
+
@@ -0,0 +1,10 @@
1
+ # describe( "it failse" , function(){
2
+ # it( "should have spelled fails right" , function(){
3
+ # expect( false ).toBeTruthy();
4
+ # });
5
+ # });
6
+
7
+ describe "TDD JavaScript, Rails 3.1 and the Asset Pipeline", ->
8
+ it "Are you TDD'ing your JS?", ->
9
+ tests = "no tests D:"
10
+ expect( tests ).toBe('lots of tests :D')
@@ -0,0 +1,9 @@
1
+ module("TDD JavaScript, Rails 3.1 and the Asset Pipeline");
2
+
3
+ test("Are you TDD'ing your JS?", function(){
4
+ expect( 1 );
5
+
6
+ var tests = "No tests D:";
7
+ equals( tests, "Lots of tests :D", "How many tests?" );
8
+ });
9
+