RubyMine: Set specific Ruby version per project
Sometimes you need to look at the filter chain in specs. You can do it like that on Rails 2...
If you encounter a Firefox that does not care about your font settings but always uses specific fonts, you can...
Never name your shared example group *_spec.rb. Otherwise rspec will try to load your example group as a spec and...
Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...
In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...
Be careful when stubbing out attributes on records that are defined by associations. Nothing is as it seems to be...
Our rspec_candy gem now gives you three matchers: be_same_number_as Tests if the given number is the...
assignable_values now lets you define a secondary default that is only used if the primary default value is not...
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...
Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...
The will_paginate gem will show a default of 30 records per page. If you want to test pagination in...
The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...
I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...
Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...
Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...
You can specify the version of bundler to execute a command (most often you need an older version of bundler...
Updated the card with our current best practice (shared app code and specs via symlinks).
If you use rails_admin, your specs pass with the rspec binary, but not using rake spec (or rake parallel...
RSpec's be_false behaves unexpectedly: nil.should be_false # passes, as the expectation returns true If you want to check...
Copy and paste at will, they're free! German quotation marks: „ “ (Ubuntu-Hotkey: AltGr+v and AltGr+b) English quotation...
I wonder if the guy that wrote BigDecimal#inspect has a tragic backstory that explains why he hates humanity.
Ruby 1.9.2 is very slow when loading files, especially starting Rails servers or running specs takes forever.
Always use simply require 'spec_helper' If you mix it up like require 'spec_helper' require File.dirname(__FILE__) + '/../spec_helper'