Don't use be_true to check if a value is true. It actually checks if it anything other than...
Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...
A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax.
You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.
Simply add this to your .rspec instead: --require spec_helper If you are on rspec >= 3 and use a rails_helper.rb...
When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...
You can configure RSpec 3.3+ to raise an error when attempting to stub or mock a non-existing method. We...
Built-in matchers Get an overview of all the matchers that are built into RSpec. Play with some of...
Web security basics Einführung in die Web Security 🇩🇪 provides essentials for the topic of this card. Read following chapters:
The easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...
Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...
Get an idea of the varying support for HTML/CSS/JavaScript features in different browsers like Chrome, Firefox, Internet Explorer, Edge...
Action Mailer Basics and Previews Chapter "Task H1: Sending Confirmation Emails" from Agile Web Development with Rails (in our...
Learn to treat files as an ActiveRecord attribute type, like :string or :integer Research Look at the README for...
In this card we will learn to write code that scales with a large number of database records. We will...
Understand why we test: Low defect rate without a QA department. Customer acceptance testing can concentrate on new features...
In RSpec you can tag examples or example groups with any tags you like simply by saying describe ReportCreator, slow...
If you want to grow a Ruby Array, you might find out about #fill but it is not really what...
When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.
Now supports RSpec 3 and Rails 4 Drops support for state_machine, which has some issues with Rails 4 and...
RSpec 3 has verifying doubles. This breed of mock objects check that any methods being stubbed are present on an...
To only stub a method call if a given argument is used, but use the default implementation for other arguments...
Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features