Posted almost 9 years ago by Thomas Eisenbarth.

In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...

Posted almost 9 years ago by Henning Koch. macksmind.net

This step tests whether a given select option comes preselected in the HTML. There is another step to test that...

Posted almost 9 years ago by Arne Hartherz.

This collection of Sass mixins enables cross-browser styling (including IE with CSS3PIE) with less lines of code.

Posted almost 9 years ago by Henning Koch.

This is non-trivial because you need to fake event objects and require different code for different browsers. Luckily, there...

Posted almost 9 years ago by Arne Hartherz.

When using an odd value for line-height in CSS the result will vary across all major browsers.\

Posted almost 9 years ago by Lexy. github.com

Fixes all Flash elements on a page so that they heed DOM stacking order

Posted almost 9 years ago by Henning Koch.

This note describes a Cucumber step definition that lets you test whether or not a CSS selector is present on...

Posted almost 9 years ago by Arne Hartherz. skorks.com

Ctrl + R Search commands you entered previously. Press Ctrl + R again to search further back, Ctrl + Shift + R searches forward...

Posted almost 9 years ago by Lexy. blog.jcoglan.com

Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...

Posted almost 9 years ago by Arne Hartherz.

This returns the name (including path) of your current layout: response.layout => "layouts/admin" # inside views that are using the 'admin' layout...

Posted almost 9 years ago by Lexy. 37signals.com

Lately, we’ve been exploring ways to offer web apps that perform like native apps on mobile devices. For this...

Posted almost 9 years ago by Henning Koch.

When Paperclip attachments should only be downloadable for selected users, there are three ways to go. Same applies to files...

Posted almost 9 years ago by Arne Hartherz.

Capybara's has_css? matcher has a couple of options you might find useful. Check that a selector appears a...

Posted almost 9 years ago by Lexy. github.com

Ruby gem that provides an AR-style interface for the Pivotal Tracker API.

Posted almost 9 years ago by Arne Hartherz.

If you have several submit elements (inputs or buttons with type="submit") that each cause different things to happen (e.g...

Posted almost 9 years ago by Thomas Eisenbarth.

Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11

Posted about 9 years ago by Henning Koch.

You don't need a Rails application to use Sass. Even when you're working on a static site you...

Posted about 9 years ago by Lexy. css-tricks.com

Because they are vector, it would make sense if we could do things that other vector programs (e.g. Adobe Illustrator...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more