Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching #42

Merged
merged 8 commits into from
Jun 6, 2013
Merged

Caching #42

merged 8 commits into from
Jun 6, 2013

Conversation

ccocchi
Copy link
Owner

@ccocchi ccocchi commented Jun 6, 2013

Add response caching

ccocchi added a commit that referenced this pull request Jun 6, 2013
@ccocchi ccocchi merged commit 7bd9b97 into master Jun 6, 2013
@ccocchi ccocchi deleted the caching branch March 28, 2014 00:36
render_hash
end

test "cache shoud use #cache_key as default" do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: should instead of shoud.

assert_nothing_raised { render_hash }
end

test "cache should be applied if no cache key is given" do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be "should not be applied" instead of "should be applied"? The next line is @cache.should_not_receive(:fetch).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants