Closed ilyazub closed 3 years ago
Fixes https://github.com/serpapi/turbo_tests/issues/6.
Probably it's time to remove FakeExample, FakeExecutionResult and use RSpec::Core::Example, RSpec::Core::Example::ExecutionResult and so on. Fake structures were copied from Discourse source code.
FakeExample
FakeExecutionResult
RSpec::Core::Example
RSpec::Core::Example::ExecutionResult
Thanks to @louim for the reproducible example and an attempt to fix it. Feel free to review this PR.
This fixed the NoMethodError for me.
Fixes https://github.com/serpapi/turbo_tests/issues/6.
Probably it's time to remove
FakeExample
,FakeExecutionResult
and useRSpec::Core::Example
,RSpec::Core::Example::ExecutionResult
and so on. Fake structures were copied from Discourse source code.Thanks to @louim for the reproducible example and an attempt to fix it. Feel free to review this PR.