Skip to content

Add the possibility to "memoize values within the expectation block" #40

@jvenezia

Description

@jvenezia

First of all thank you for this amazing Gem, it's a clean and simple solution to avoid n+1 regressions.

Could you explain why memoizing the action in rspec is not possible? Adding this ability would help a lot for the maintainability of our tests. Typically we always add the controller action in a let(:request) { get :action }, so this gem makes us write an exception.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions