Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 9ccb1c9

Browse files
committed
Remove old JRuby workaround
1 parent ca82cc3 commit 9ccb1c9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

spec/rspec/support/object_formatter_spec.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,6 @@ def with_date_loaded
9797
it 'includes a conventional representation of the decimal' do
9898
in_sub_process_if_possible do
9999
require 'bigdecimal'
100-
# Suppress warning on JRuby 1.7:
101-
# file:/Users/me/.rbenv/versions/jruby-1.7.26/lib/jruby.jar!/jruby/bigdecimal.rb:1
102-
# warning: loading in progress, circular require considered harmful - bigdecimal.jar
103-
$stderr.reset!
104-
105100
expect(formatted_decimal).to include('3.3 (#<BigDecimal')
106101
end
107102
end
@@ -154,11 +149,6 @@ def with_delegate_loaded
154149
it 'formats the underlying object normally' do
155150
with_delegate_loaded do
156151
require 'bigdecimal'
157-
# Suppress warning on JRuby 1.7:
158-
# file:/Users/me/.rbenv/versions/jruby-1.7.26/lib/jruby.jar!/jruby/bigdecimal.rb:1
159-
# warning: loading in progress, circular require considered harmful - bigdecimal.jar
160-
$stderr.reset!
161-
162152
expect(ObjectFormatter.format(delegator)).to eq "#<SimpleDelegator(#{formatted_decimal})>"
163153
end
164154
end

0 commit comments

Comments
 (0)