Sha256: 3e826d275f6a22308326af51158b9988439e624b6008a7bd6ef474833aa92a64

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

# https://github.com/opal/opal/issues/1110, fixed in Opal 0.9
unless Opal::RSpec::Compatibility.class_within_class_new_works?
  # in recursive_const_methods_spec
  module ::RSpec::Support::Foo
    class Parent
      UNDETECTED = 'Not seen when looking up constants in Bar'
    end

    class Bar < Parent
      VAL = 10
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
opal-connect-rspec-0.5.0 spec/rspec/support/fixes/opal_itself.rb
opal-rspec-0.5.0 spec/rspec/support/fixes/opal_itself.rb
opal-rspec-0.5.0.beta3 spec/rspec/support/fixes/opal_itself.rb