Newbie developers might wonder how they can test if their routes are in good conditions. They might not find good examples so I have pasted some examples from my code. 593 more words
Tags » Rspec 2
RSpec Setup in Rails 4An up-to-date testing environment setup for Rails 4, including RSpec, Capybara, and FactoryGirl.
Gems gonna used are: 457 more words
Keep Specs Fresh With Anonymous Classes (Copied)
Sometimes it can be difficult to test a module since you don’t want to test it tied to a specific implementation. 143 more words
You probably know how to use
specify to clearly communicate one aspect of your code. The nested context provides by… 176 more words