jasmine / jasmine-gem

Jasmine ruby gem
682 stars 274 forks source link

Configure assets mode #241

Closed ahuth closed 9 years ago

ahuth commented 9 years ago

This PR adds the option for Jasmine to serve up a single application.js bundle instead of individual files.

See issue #240.

I've added some rails integration tests, but have been unable to actually run them. When I run rake, a 113 tests run (and pass), but these tests don't seem to run. Is there anything special I need to do to run them? I followed the HOW_TO_TEST instructions.

Currently, the AssetPipelineManager is threading the debug option through to the AssetExpander's rails4 integration. I'm open to suggestions as to a better way if anyone has any thoughts.

Also, I really need a solution that will work with Rails 3, too. Any ideas? Kind of lost, here.

ahuth commented 9 years ago

FYI @juanca

slackersoft commented 9 years ago

Looks like I broke the rails detection for specs when I simplified how it works a few weeks ago. I've just pushed a commit to master that should allow the specs in jasmine_rails_spec.rb to actually detect that rails is available and run the specs.

I'm not sure what the right approach is for rails 3 to get it to serve concatenated assets.

ahuth commented 9 years ago

Thanks for getting back on this (and sorry for taking so long to respond myself). Closing for now.