Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JasmineRice on Rails 4

Has anyone tried JasminRice gem with Rails 4?

I've got Ember Rails 4 app and I would like to use Jasmine Rice but I'm not sure whether it would work out well as their Github account says Pain free coffeescript testing under Rails 3.1

Jasmine Rice

like image 507
Passionate Engineer Avatar asked Oct 21 '22 21:10

Passionate Engineer


1 Answers

I would advice you to use jasmine-gem, which recently gained Rails 4 support. jasmine-gem is developed by Pivotal, the company that develops Jasmine itself, and is actively maintained. While this gem was very basic for a long time, it has improved tremendously, especially with version 2.0.0. Spec execution in Phantomjs (in addition to the browser, which is the fastest for development) is supported, and there is full integration into the Asset Pipeline, which lets you e.g. write tests in CoffeeScript. At my student job, we are using jasmine-gem extensively and are very happy with it.

like image 174
Denis Washington Avatar answered Nov 02 '22 06:11

Denis Washington