Rails updatedat not updating
We'll also cover how integration tests can sometimes serve as a replacement for controller tests.
To follow this tutorial, you'll need to have Ruby installed along with Rails.
Specifically: We were using Nginx 0.7.6 due to some legacy issues. I'm looking into problem (2) now and will update when I have something.
Some people prefer to test controllers in isolation.
Now I've got nginx passing the web requests directly to puma but still getting no data.
Just tried updating rails to 4.0.2 but getting dependency issues. Haven't done the comparison yet but here's something very interesting: If I open up the rails console on the server messages begin to stream through to the website!
Minitest and RSpec are the two most common testing suites used in Ruby.
If you'd like to learn more about RSpec, you can read our tutorial on getting started with RSpec as well as this tutorial on mocking with RSpec: doubles and expectations.