##Integration capybara with minitest
Requirements:
- ruby 1.9
- gem capybara
All you have to do is to require file test_helper.rb at the beginning of your test files.
| This shit has been bugging me for too long, so I went on a hunt and found a workaround. | |
| The Symptoms are as follows: | |
| * Clicking the address bar results in a 1-4 second delay | |
| * Opening links in new tabs results in a 1-4 second delay | |
| * +T results in a 1-4 second delay | |
| * `PressAndHold[<pid>]: IMKServer Stall detected` is present in `/var/log/system.log` at the time of the hang. | |
| It appears to be to do with the PressAndHold helper - the thing that shows an IOS style selection of accents when you hold a key down. | |
| The fix may have some unwanted effects, I haven't really noticed any. | 
| // Bind to backbone attribute (read/write with get/set, subscribe to change:attribute event): | |
| // data-text="model.@attribute" | |
| // | |
| // Bind to output of function (calls the function to get value, subscribes to 'change' event): | |
| // data-text="model.computedProperty() | |
| // | |
| // Bind to attribute (subscribes to 'change' event): | |
| // data-text="model.attr" | |
| (function(rivets){ | 
##Integration capybara with minitest
Requirements:
All you have to do is to require file test_helper.rb at the beginning of your test files.