diff options
| -rw-r--r-- | app/views/githubs/show.html.erb | 0 | ||||
| -rw-r--r-- | test/controllers/githubs_controller_test.rb | 6 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/views/githubs/show.html.erb b/app/views/githubs/show.html.erb new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/app/views/githubs/show.html.erb diff --git a/test/controllers/githubs_controller_test.rb b/test/controllers/githubs_controller_test.rb index 4e367ba..31f2e1f 100644 --- a/test/controllers/githubs_controller_test.rb +++ b/test/controllers/githubs_controller_test.rb @@ -6,4 +6,10 @@ class GithubsControllerTest < ActionDispatch::IntegrationTest assert_response :no_content end + + test "accepts a new installaction callback" do + get '/github', params: { code: 'e025a53883802aeb399c', installation_id: '18251928', setup_action: 'install' } + + assert_response :ok + end end |
