Jasmine has long standing support for writing asynchronous specs. In days gone by we used the done callback to achieve...
The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
If rspec hangs with no output and you dont get a backtrace neither with --backtrace nor by just killing it...
The gem json fails to install for Ruby 2.5 if you use a version equal or below 1.8.3.
Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...
Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...
Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...
Webpacker can automatically create an icon font from SVG files, which is really handy. When you're using the asset...
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
When delivering non-public uploaded files (images, documents etc), one has to decide whether and how to do authorization. The...
An alternative of using a multiple assignment for a Regex are named groups. Especially when your Regex becomes more complicates...
Was ist Elastic? Suchmaschine, basierend auf Apache Lucene größtenteils Open-Source einige kommerzielle Features ("Elastic Stack", früher "X-Pack") Zugriffsrechte...
In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',
When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...
RSpec >= 3.3 added aggregate_failures, which allows multiple failures in an example and list them all, rather than aborting on...
Carrierwave includes some handy helper methods you can use to resize your images. Here is a quick summary of them...
For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...
This is a presentation from 2019-01-21. Summary We want to move away from jQuery in future projects
I had this error: > gem install bundler Successfully installed bundler-2.0.1 1 gem installed > bundle install Traceback (most recent call...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...
Remember How to skip Sprockets asset compile during Capistrano deployment and Automatically skipping asset compilation when assets have not changed...
In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...
Puma allows you to specify the max and min threads. In development this could be useful if you use a...