Skip to content

Instantly share code, notes, and snippets.

@ngty
Created November 8, 2010 04:05
Show Gist options
  • Save ngty/667370 to your computer and use it in GitHub Desktop.
Save ngty/667370 to your computer and use it in GitHub Desktop.
if Rails.env.test?
ActionDispatch::Callbacks.before do
CrossStub.refresh :file => Rails.root.join('tmp', 'crossstub.cache')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment