The facebook key and secret defined in the sorcery config file are for testing only and need to be changed and not committed to source when app is ready to go live
15 lines
249 B
Ruby
15 lines
249 B
Ruby
require 'test_helper'
|
|
|
|
class OauthsControllerTest < ActionController::TestCase
|
|
test "should get oauth" do
|
|
get :oauth
|
|
assert_response :success
|
|
end
|
|
|
|
test "should get callback" do
|
|
get :callback
|
|
assert_response :success
|
|
end
|
|
|
|
end
|