Are you adding a "Then show me the page" and re-run Cucumber whenever there is a failing scenario? Don...

cssdiscussion.com

If you want your application to display properly on iPad, iPhone or Android there are two things to do:

imperialviolet.org

In January this year (2010), Gmail switched to using HTTPS for everything by default. Previously it had been introduced as...

The following Sass will do the trick: button, input[type="reset"], input[type="button"], input[type="submit"], input[type="file...

alistapart.com

I was recently confronted with the task of creating a two-column liquid layout with a header and footer in...

While you can use Capybara matchers like have_css and have_content for expectations, they are not too helpful for...

makandra dev
railsforzombies.org

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/')

prototypejs.org

jQuery's selector engine, live()-like event handlers, pixel-perfect layout measuring.

makandra dev

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

web.archive.org

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.\

github.com

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...

skorks.com

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

blog.jcoglan.com

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...

37signals.com

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