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
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