Test environment does not work at all?
Reported by Mike Perham | July 11th, 2008 @ 09:19 AM | in 0.3.0 Sammy
My basic routing tests, which worked with the 0.2.2 gem, do not work with edge. All render the default 404 handler. Attached is a project which should show the problem. Just unzip it and run rake.
0.2.3
Loaded suite /Library/Ruby/Gems/1.8/gems/rake-0.8.1/lib/rake/rake_test_loader
Started
FFFF
Finished in 0.010529 seconds.
1) Failure:
test_404(BasicRoutingTest) [./test/basic_routing_test.rb:16]:
<"Huh?"> expected but was
<"<h1>Not Found</h1>">.
2) Failure:
test_500(BasicRoutingTest) [./test/basic_routing_test.rb:21]:
<"Error"> expected but was
<"<h1>Not Found</h1>">.
3) Failure:
test_default(BasicRoutingTest) [./test/basic_routing_test.rb:6]:
<"Nothing to see here"> expected but was
<"<h1>Not Found</h1>">.
4) Failure:
test_params(BasicRoutingTest) [./test/basic_routing_test.rb:11]:
<"456"> expected but was
<"<h1>Not Found</h1>">.
4 tests, 4 assertions, 4 failures, 0 errors
Comments and changes to this ticket
-
Blake Mizerany July 11th, 2008 @ 10:39 AM
Thank you. The fix is in the next release that I haven't pushed yet.
-
Ryan Tomayko September 7th, 2008 @ 06:19 PM
- → Tag changed from to fixed
- → State changed from new to resolved
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
