We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616bada commit 6b5ff7cCopy full SHA for 6b5ff7c
test/functional/github_hook_controller_test.rb
@@ -76,11 +76,11 @@ def do_post
76
post :index, :payload => json
77
end
78
79
- def test_should_render_ok_when_done
+ def test_should_render_response_from_github_hook_when_done
80
GithubHook::Updater.any_instance.expects(:update_repository).returns(true)
81
do_post
82
assert_response :success
83
- assert_equal 'OK', @response.body
+ assert_match "GithubHook: Redmine repository updated", @response.body
84
85
86
def test_should_render_error_message
0 commit comments