Merge pull request #1959 from chris-ramon/patch-1

fix typos in posts_controller_spec.
This commit is contained in:
Régis Hanol 2014-02-17 09:48:04 +01:00
commit 77e0096142
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ describe PostsController do
response.should be_forbidden
end
it 'suceeds' do
it 'succeeds' do
xhr :get, :show, id: post.id
response.should be_success
end
@ -62,7 +62,7 @@ describe PostsController do
response.should be_forbidden
end
it 'suceeds' do
it 'succeeds' do
Post.any_instance.expects(:reply_history)
xhr :get, :reply_history, id: post.id
response.should be_success