A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tomykaira/rspec-parameterized/issues/8 below:

When use let method in where scope, scope of evaluation is different with actual ExampleGroup · Issue #8 · tomykaira/rspec-parameterized · GitHub

Primitive values is basically No Problem.
But side-effective method is not equivalent to with_them,
because with_them create another ExampleGroup instance.
(ex. FactoryGirl.create)

I think that to solve this issue, we need to hook rspec-core, but it is difficult.

proc & instance_eval hack is still necessary.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4