-
Notifications
You must be signed in to change notification settings - Fork 597
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
Rspec render_template specs are failing #169
Comments
Hi @PratheepV, thanks for the report! Any chance we could get the exact stack trace and error that you get out of the spec run? |
Hi jasonrclark, my spec file is simple it "should go to the index page" do
get 'index'
response.should render_template "index.html.erb"
end Result Thanks, |
@PratheepV Thanks for sending that along. I plugged that into an app and wasn't able to duplicate any change in the behavior, but I doubt I'm on the precise versions you're on. Any chance you could gist your Gemfile + Gemfile.lock so I can be sure I'm trying the same versions? Additionally, the agent shouldn't even be running when you are running your specs. Can you confirm that removing |
Hi, Ours is a proprietary software, So its not possible to disclose all gems what we are using in it. I will give you the newrelic gem version. gem "newrelic_rpm","3.8.1.221" When I downgrade teh newrelic gem to 3.6.0.83 all my specs are passing. we are using rails 2.3. By any chance you tried the rails 4? Thanks, |
Hi @PratheepV, I understand your concern. Is there any chance that you could enter a ticket via https://support.newrelic.com/home where potentially you could share a bit more of the versions you're using of other gems? Any generally useful results from the ticket will get posted back here as well to help others, but that'll let us keep the intervening discussion private. Thanks |
Hi @jasonrclark , I created a case in your support. Thanks |
Hi,
Recently I upgraded the newrelic agent version from 3.5.0.83 to 3.8.1.221. When I ran my specs, Failing because of render template checks. I just dig into rpm code, it was working till v3.6.0 , after that I think you guys enhanced the monitoring for view renders.
https://github.com/newrelic/rpm/blob/master/lib/new_relic/agent/instrumentation/action_view_subscriber.rb#L86
I am using "rspec", "1.3.1".
Thanks,
Pratheepv
The text was updated successfully, but these errors were encountered: