We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c384538 commit 442e851Copy full SHA for 442e851
spec/ruby/core/kernel/shared/load.rb
@@ -101,7 +101,7 @@
101
path = File.expand_path "wrap_fixture.rb", CODE_LOADING_DIR
102
@object.load(path, true)
103
104
- ScratchPad.recorded.first.should be_an_instance_of(Class)
+ ScratchPad.recorded.first.should equal(String)
105
end
106
107
describe "with top-level methods" do
spec/ruby/fixtures/code/wrap_fixture.rb
@@ -1,3 +1,3 @@
1
class LoadSpecWrap
2
- ScratchPad << self
+ ScratchPad << String
3
0 commit comments