Skip to content

Commit

Permalink
Require opal/platfrom where OPAL_PLATFORM is used
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Nov 8, 2018
1 parent 29ebb8b commit 15b22fb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lib-opal/opal/rspec/fixes/opal.rb
@@ -1,3 +1,5 @@
require 'opal/platform'

class IO
def closed?
true
Expand Down
1 change: 0 additions & 1 deletion lib/opal/rspec/runner.rb
Expand Up @@ -78,7 +78,6 @@ def initialize(&block)
options = []
options << '--arity-check' if arity_checking?
options += ['--runner', runner] unless runner.empty?
options << '-ropal/platform'
options << '-ropal-rspec'
options << '--missing-require=ignore'
options += @legacy_server_proxy.to_cli_options
Expand Down
1 change: 0 additions & 1 deletion spec-opal/spec_helper.rb
@@ -1,5 +1,4 @@
require 'opal/rspec/async'
require 'opal/platform'

RSpec::configure do |config|
config.filter_run_including focus: true
Expand Down

0 comments on commit 15b22fb

Please sign in to comment.