RSpec's be_false behaves unexpectedly: nil.should be_false # passes, as the expectation returns true If you want to check...

github.com

Adds missing native PostgreSQL data types to ActiveRecord and convenient querying extensions for ActiveRecord and Arel for Rails 4.x...

makandra dev

tmp/* storage/* db/*.sqlite3 db/schema.rb db/structure.sql public/system .project .idea/ public/javascripts/all* public/stylesheets/all* public/stylesheets/*.css config/database.yml *~ *#* .#* .DS_Store webrat-*.html

...ll need it to access shared folders or your host's web server when testing pages in IE. Fun fact: You could also use vbox.srv -- that's the corresponding hostname...

makandra dev

Spreewald 1.1.0 drops the be_true and be_false matchers in order to be RSpec 3 and Ruby 2 compatible...

stackoverflow.com

When you use ab to do some performance benchmarking, you might run into output like this: Complete requests: 200

blog.bitcrowd.net

When cucumber encounters a failing step in a @javascript feature, the selenium browser window instantly closes. Sometimes you do not...

When you want to look up a class for a given factory, do it like this: >> FactoryBot.factories.find('admin').build_class...

Usually, Cucumber feature files live in features/. When you group them in sub directories, make sure to add -r features...

makandra dev
github.com

...description: "Plain White Tee Shirt", name: "Plain T-Shirt" } ]) User.create!([ { password: "123456", username: "test_1" }, { password: "234567", username: "test...

At least Selenium cannot find disabled fields. Unless you find them explicitly: find_field 'This is disabled', disabled: true

jashkenas.github.com

...JavaScript libraries (jQuery, PrototypeJS), debugging support (it becomes pure, readable JavaScript), existing support from test suites (it’s normal JavaScript) and growing support from various text editors (TextMate, Vim, Emacs...

When you write a custom RSpec matcher a good place to store them is to create one file per matcher...

Don't use be_true to check if a value is true. It actually checks if it anything other than...

webpack.js.org

You can do this per environment, e.g. in config/webpack/test.js: const environment = require('./environment') const config = environment.toWebpackConfig() config.devtool = 'none' module.exports = config

everydayrails.com

I recently had a need to demonstrate a data-heavy application to potential customers. Demonstrating the application with bogus numbers...

conversionxl.com

We all struggle with pricing. Here is some interesting information that helps you with your pricing decisions.

lorempixel.com

Generate dummy images for a given dimension and topic.

makandra dev
chrome.google.com

Ever wanted to preview a pattern from Subtle Patterns on your site without the hassle of swapping out images and...

makandracards.com

Added information about what jQuery considers "visible" Added a solution for Prototype Added a patch for Prototype that replaces the...

derwiki.tumblr.com

Some advice for bulk loading many records into InnoDB and finishing before the sun burns out. Use with care.

makandra dev
github.com

Preview email in the browser instead of sending it.

whatsmydns.net

whatsmydns.net is an online service that allows you to instantly perform a DNS lookup to check a hostnames current IP...

api.rubyonrails.org

Wrapping a string in this class gives you a prettier way to test for equality...