mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-25 07:54:11 -05:00
fix typos in posts_controller_spec.
fixing 'suceeds' typo.
This commit is contained in:
parent
c0d947aa98
commit
566d25ea75
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue