Skip to content

Commit

Permalink
Modules now donate constants on include, so remove temp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 12, 2013
1 parent 4f7da17 commit 1c56529
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions opal/opal-rspec/fixes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,10 @@ def underscore(camel_cased_word)
end
end

# Module#include should also include constants (as should class subclassing)
RSpec::Core::ExampleGroup::AllHookMemoizedHash = RSpec::Core::MemoizedHelpers::AllHookMemoizedHash

# These two methods break because of instance_variables(). That method should ignore
# private variables added by opal. This breaks as we copy ._klass which makes these
# collections think they are arrays as we copy the _klass property from an array
#
#
# OR:
#
# it breaks because we copy all methods from array, and dont have our real send,
Expand Down

0 comments on commit 1c56529

Please sign in to comment.