RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: lksv
By STI you are extending the the parent eg. all validations are inherited. I think that there is not simple way how to override validation.
Thanks for this episode.
In the scrolling test case, I didn't catch how it works under the hood. As I understand it correct, the content "Order #11" is not present immediately after calling page.evaluate_script("window.scrollTo(0, document.height)").
Does this command wait for the content? If so, how should I test that message "Fetching more orders..." is showed (just for a while)?
Found nvd3 which seems pretty nice.