Sha256: f79026cb636bc6ea7ac226f0711270c0edeb7e7d0f1bdb00cb477a5de4329c54

Contents?: true

Size: 214 Bytes

Versions: 10

Compression:

Stored size: 214 Bytes

Contents

require 'rspec/support/spec/in_sub_process'

module MathnIntegrationSupport
  include RSpec::Support::InSubProcess

  def with_mathn_loaded
    in_sub_process do
      require 'mathn'
      yield
    end
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
opal-rspec-0.6.2 rspec-core/spec/support/mathn_integration_support.rb
opal-rspec-0.6.1 rspec-core/spec/support/mathn_integration_support.rb
opal-rspec-0.6.0 rspec-core/spec/support/mathn_integration_support.rb
opal-rspec-0.6.0.beta1 rspec-core/spec/support/mathn_integration_support.rb
opal-connect-rspec-0.5.0 rspec-core/spec/support/mathn_integration_support.rb
opal-rspec-0.5.0 rspec-core/spec/support/mathn_integration_support.rb
opal-rspec-0.5.0.beta3 rspec-core/spec/support/mathn_integration_support.rb
opal-rspec-0.5.0.beta2 rspec-core/spec/support/mathn_integration_support.rb
opal-rspec-0.5.0.beta1 rspec-core/spec/support/mathn_integration_support.rb
rspec-core-3.0.0.beta2 spec/support/mathn_integration_support.rb