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
Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...
In the tradition of our PostgreSQL cheat sheet for MySQL lamers, here is a cheat sheet for Jasmine when you...
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...