Closed indirect closed 11 years ago
Is this still an issue, @indirect? I know you're not necessarily using analytical much anymore, but I'd rather close this if no one else is experiencing any pain from it, or obviously if it's already fixed. Ideally, it would be excellent if you could provide a failing spec.
I don't even remember what the outcome was for this. Since I don't have access to the app that uses analytical anymore, I think closing it is fine.
On Feb 17, 2013, at 9:37 PM, Sathya Sekaran notifications@github.com wrote:
Is this still an issue, @indirect? I know you're not necessarily using analytical much anymore, but I'd rather close this if no one else is experiencing any pain from it, or obviously if it's already fixed. Ideally, it would be excellent if you could provide a failing spec.
\ Reply to this email directly or view it on GitHub.
In my view specs, templates that included calls to
analytical.event
were causing exceptions. It turns out this was becauseActionView::TestCase::TestController
wasn't inheriting the call toanalytical
that I put in myApplicationController
. The easiest fix I found was adding this to myspec_helper.rb
:Seems like it might be nice for Analytical to provide RSpec integration so that this doesn't have to be debugged and then added by hand. Thanks!