fix typos in posts_controller_spec.

fixing 'suceeds' typo.
This commit is contained in:
Christian Ramón 2014-02-16 12:17:36 -05:00
parent c0d947aa98
commit 566d25ea75

View File

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