Learning Rails for the first time should be fun, and Rails for Zombies allows you to get your feet wet...
Styling button tags across all major browsers is not easy. Many times you should be fine by using the native...
Using this step definition you can check if any form field (text field, checkbox, etc) or button is disabled:
You can usually just use the eq matched to compare two numbers: expect(deal.total).to eq(120)
Use the Launchy gem: Launchy.open('http://www.ruby-lang.org/')
jQuery's selector engine, live()-like event handlers, pixel-perfect layout measuring.
In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...
This step tests whether a given select option comes preselected in the HTML. There is another step to test that...
This collection of Sass mixins enables cross-browser styling (including IE with CSS3PIE) with less lines of code.
This is non-trivial because you need to fake event objects and require different code for different browsers. Luckily, there...
When using an odd value for line-height in CSS the result will vary across all major browsers.\
Fixes all Flash elements on a page so that they heed DOM stacking order
For clarity and traceability, your commit messages should include the ID and title of the Pivotal Tracker story you're...
This note describes a Cucumber step definition that lets you test whether or not a CSS selector is present on...
Ctrl + R Search commands you entered previously. Press Ctrl + R again to search further back, Ctrl + Shift + R searches forward...
Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...
This returns the name (including path) of your current layout: response.layout => "layouts/admin" # inside views that are using the 'admin' layout...
Lately, we’ve been exploring ways to offer web apps that perform like native apps on mobile devices. For this...
Capybara's has_css? matcher has a couple of options you might find useful. Check that a selector appears a...
Ruby gem that provides an AR-style interface for the Pivotal Tracker API.
If you have several submit elements (inputs or buttons with type="submit") that each cause different things to happen (e.g...
Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11
You don't need a Rails application to use Sass. Even when you're working on a static site you...
Because they are vector, it would make sense if we could do things that other vector programs (e.g. Adobe Illustrator...