Skip to content

Commit

Permalink
Fix spec failed after commit 980bf4c
Browse files Browse the repository at this point in the history
  • Loading branch information
shingara committed Jan 2, 2009
1 parent ea04b9a commit de5c330
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/authors_controller_spec.rb
Expand Up @@ -92,8 +92,8 @@ def do_get

do_get

response.should render_template('articles/error')
assigns[:message].should == "Can't find any articles for 'foo'"
response.status.should == "301 Moved Permanently"
response.should redirect_to(Blog.default.base_url)
end

it 'should render the atom feed for /articles/author/foo.atom' do
Expand Down
4 changes: 2 additions & 2 deletions spec/controllers/tags_controller_spec.rb
Expand Up @@ -92,8 +92,8 @@ def do_get

do_get

response.should render_template('articles/error')
assigns[:message].should == "Can't find any articles for 'foo'"
response.status.should == "301 Moved Permanently"
response.should redirect_to(Blog.default.base_url)
end

it 'should render the atom feed for /articles/tag/foo.atom' do
Expand Down

0 comments on commit de5c330

Please sign in to comment.