Dne 18. 01. 22 v 18:09 Vít Ondruch napsal(a):
Dne 18. 01. 22 v 12:00 Pavel Valena napsal(a): 3)
> ```
> + rspec -rspec_helper -fd --exclude-pattern
>
'spec/concurrent/{actor_spec.rb,channel_spec.rb,lazy_register_spec.rb,channel/**/*,e>
>
> <internal:timev>:310:in `initialize': no implicit conversion of Hash
> into Integer (TypeError)
> from
> /usr/share/gems/gems/timecop-0.9.2/lib/timecop/time_extensions.rb:22:in
> `new'
> from
> /usr/share/gems/gems/timecop-0.9.2/lib/timecop/time_extensions.rb:22:in
> `new_with_mock_time'
> from <internal:timev>:224:in `now'
> from
> /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:89:in
> `start'
> from
> /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:72:in
> `report'
> from
> /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in
> `run_specs'
> from
> /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in
> `run'
> from
> /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in
> `run'
> from
> /usr/share/gems/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in
> `invoke'
> from /usr/share/gems/gems/rspec-core-3.10.1/exe/rspec:4:in
> `<top (required)>'
> from /usr/bin/rspec:23:in `load'
> from /usr/bin/rspec:23:in `<main>'
> Run options: exclude {:stress=>true}
>
> ```
>
https://copr.fedorainfracloud.org/coprs/build/3190932
https://github.com/travisjeffery/timecop/pull/279
Or the linked issues.
Actually, there is already different fix in 0.9.4:
https://github.com/travisjeffery/timecop/pull/288
While the PR above is probably superior. Anyway, I have pushed update to
0.9.4 (including fix of test suite), so this should be resolved.
Vít