Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 4cef660

Browse files
committed
[opal-0.9] Fix ruby specs
Shim `console.warn` trigger by “Object.freezing non support” added in opal 0.9
1 parent 010ae27 commit 4cef660

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/reactive-ruby/component_loader_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
var global = global || this;
77
var self = self || this;
88
var window = window || this;
9+
var console = {
10+
warn: function(s) { }
11+
};
912
JS
1013

1114
let(:js) { ::Rails.application.assets['components'].to_s }

0 commit comments

Comments
 (0)