1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

5 commits

Author SHA1 Message Date
Gaku Ueda
953a30e777 Clean up nokogiri unit test.
- Used %(...) for readability.
- Removed unused local variable.
2011-07-04 02:32:11 -07:00
Konstantin Haase
e001d62669 adjust require lines for test helper, so it also works properly on 1.9.2 2011-05-11 09:44:02 +02:00
elij
e16bc71590 Explicitly handle the exception for failed loading.
The exception handler was only catching RuntimeError, which probably
should not be caught by the harness (so a test fails), when it should
have been catching LoadError exceptions (module not present to test).

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2011-01-31 10:34:41 +01:00
Konstantin Haase
fcabf93c61 fix tests to pass with latest Nokogiri 2010-12-24 16:49:07 +01:00
Konstantin Haase
dd81da11bb Add nokogiri helper method. Tilt supports Nokogiri for quite some time now, but it was not as easy to use as builder, and not documented. Tests and documentation included. 2010-10-10 13:53:43 +02:00