Jamie Dyer
Jamie Dyer
I'm seeing the same issue when precompiling assets on deployment. * sprockets 4.0.0 * rails 5.2.3 * Ruby 2.5.5 * sassc 2.2.1 * sassc-rails 2.1.2 I only saw this issue...
Looks like this could be the same issue https://github.com/sass/sassc-rails/issues/122
> Removing this line from `assets.rb` worked for me: > > ```ruby > Rails.application.config.assets.precompile += %w(manifest.js) > ``` This does not resolve the problem for us, we followed the upgrade...
Hi, I assume you're trying to mock a function for all instances of a class? Something like this... ``` var CoolThing = function(){}; CoolThing.prototype = { say_hello: function(){ alert('hello world');...
Could you provide a code example to illustrate this. It's not clear what you're trying to do in the first example you gave. On 9 Apr 2011, at 17:31, has207...
Ok, I understand you're wanting, to mock object constructors when `new` is called. This is something I've wanted to do in the past too. The problem is that `new` is...
I was thinking along the same lines. Maybe something like this... ``` // mocking CoolThing.expects_new().passing(...).twice().returns('something'); // stubbing CoolThing.stubs_new().passing(...).returns('something'); // spies CoolThing.spies_new().passing(...).returns('something'); ``` Or possibly `CoolThing.expects_new_instance()`, `CoolThing.stubbs_new_instance()` and `CoolThing.spies_new_instance()`. I believe...
@jwarchol I'm not sure there is a test for this particular input with an empty attribute value. I'm not actively working on this project at the moment but would be...