public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Search Repo:
Remove WIP spec for Merb::Router::Behavior#redirect.
Michael S. Klishin (author)
Thu May 15 16:56:33 -0700 2008
commit  c7c69e8f6a0bce3a1a4ccce13d334fafd6e24685
tree    6d638e77478822ec3e7f34eb71b5e05d6ffaf6ed
parent  cf690d2521cdfa1d549bbf9ac8d051ed3c2f9140
...
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
...
41
42
43
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -41,17 +41,4 @@
0
     @behavior.should redirect
0
   end
0
 end
0
-
0
-describe Merb::Dispatcher do
0
- before :each do
0
- Merb::Router.prepare do |r|
0
- r.match('/old/location').redirect("/new/location", true)
0
- end
0
- end
0
-
0
- it "redirects right away if route is redirecting" do
0
- env = Rack::MockRequest.env_for("/old/location")
0
- puts Merb::Dispatcher.handle(env).inspect
0
- end
0
-end

Comments

    No one has commented yet.