Unlock achievements for running your test suite...
ShamRack mounts a Rack app locally, just for your tests. It goes one further: it “mounts” it using Net::HTTP such that requests to the Rack app never hit any...
The Holy Grail of testing for front-end development; execute browser-less, console-based, javascript + DOM code right from within your Rails test suite...
Always use simply require 'spec_helper' If you mix it up like require 'spec_helper' require File.dirname(__FILE__) + '/../spec_helper'
If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...
This raises "Could not find first Keyword": describe Keyword do it { should validate_uniqueness_of(:text) } end Do this instead...
Put the attached file into features/support/. Example usage: When /^I open the task named "(.+?)"$/ do |task_name| task = page.all('.task...
The Rails secret_token must be unique for each application and any instance of it. If not, someone could exploit...
If you want to exclude your staging site from Google using robots.txt without running the risk to forget deleting the...
...to a given address. This is useful for staging environments where you want to test production-like mail delivery without sending e-mails to real users...
...showing how to set a fixed random seed and clear Faker::UniqueGenerator before each test