Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
✂️ 👾
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Jun 26, 2016
1 parent 2ce2101 commit 6de958b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/namespace_spec.rb
Expand Up @@ -26,7 +26,7 @@ def namespace(*args, &block)

describe 'redirect_to' do
it 'redirect within namespace' do
namespace('/foo') { send(verb, '/bar') { redirect_to '/foo_bar' }}
namespace('/foo') { send(verb, '/bar') { redirect_to '/foo_bar' }}
send(verb, '/foo/bar').should be_redirect
send(verb, '/foo/bar').location.should include("/foo/foo_bar")
end
Expand Down

0 comments on commit 6de958b

Please sign in to comment.