Internals Visible To
I was working on an HttpModule today that I will try and blog about later. I wanted to make an interface that I was programming against internal. This of course broke my unit tests. Luckily
I was working on an HttpModule today that I will try and blog about later. I wanted to make an interface that I was programming against internal. This of course broke my unit tests. Luckily
This morning I tried running our entire capybara suite and a ton of tests failed due to an issue with the Selenium Webdriver. It took some searching and tinkering to come up with the fix below.
The following links were very helpful and provided most of the patch below that I added prior to the code that runs the tests:
Both peepcode and tekpub have done excellent screencasts on using backbone.js in the last couple of months. In peepcode’s screencasts, they used a JavaScript BDD framework that was very intriguing called Jasmine…
I have known about knockout.js for quite a while now. It’s one of those libraries that gets a lot of coverage, I just haven’t had the time to check it out.
From the introduction:
Knockout is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying
The other day, I wanted to test that a certain element had the focus with capybara. This is what I came up with:
assert(@s.evaluate_script('document.activeElement')[:id] == 'IdOfElement', 'The element did not have the focus')
Note: @s is my session. I am managing session myself as I am testing a non rack app…
I have been slowing teaching myself how to use vi/vim for quite some time now. I have been using a Visual Studio plugin called ViEmu and I have also been using MacVim some on my Mac. A few days ago