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 c65962c commit 1a02f0cCopy full SHA for 1a02f0c
spec/concurrent/future_spec.rb
@@ -85,8 +85,9 @@ def get_ivar_from_args(opts)
85
Future.execute(executor: executor){ nil }
86
end
87
88
- it 'uses the global io executor by default', buggy: true do
89
- expect(Concurrent).to receive(:global_io_executor).and_return(executor)
+ it 'uses the global io executor by default' do
+ allow(Concurrent).to receive(:global_io_executor).and_return(executor)
90
+ expect(executor).to receive(:post).and_call_original
91
Future.execute{ nil }
92
93
0 commit comments