When you use the send_file method to send a local file to the browser, you can save resources on...
You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.
Are you adding a "Then show me the page" and re-run Cucumber whenever there is a failing scenario? Don...
If you want your application to display properly on iPad, iPhone or Android there are two things to do:
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...
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...
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...