Skip to content

Commit 6b5ff7c

Browse files
committed
Fix failing tests
Broken since 3da1be8 - where is that CI server, when you need it
1 parent 616bada commit 6b5ff7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/github_hook_controller_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ def do_post
7676
post :index, :payload => json
7777
end
7878

79-
def test_should_render_ok_when_done
79+
def test_should_render_response_from_github_hook_when_done
8080
GithubHook::Updater.any_instance.expects(:update_repository).returns(true)
8181
do_post
8282
assert_response :success
83-
assert_equal 'OK', @response.body
83+
assert_match "GithubHook: Redmine repository updated", @response.body
8484
end
8585

8686
def test_should_render_error_message

0 commit comments

Comments
 (0)