summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
authorHoward P. Logsdon <howard@hplogsdon.com>2015-04-30 20:17:53 -0600
committerHoward P. Logsdon <howard@hplogsdon.com>2015-04-30 22:02:28 -0600
commitf2e65ba17b6b707111d9848d54f97f4fc4febe21 (patch)
tree381e049168afd0e6d127314ccc3a1bf9d8847ceb /spec/models/commit_spec.rb
parent4c63ef932bc2b573cd9306066993f72c1cb8dc83 (diff)
downloadgitlab-ci-f2e65ba17b6b707111d9848d54f97f4fc4febe21.tar.gz
Fix notification issues on HipChatService, add HipChatMessage specs
adding specs for HipChatMessage exposed some issues with the way I was building the matrix-commit style notification message, so it ended up being quite a bit more changes than I expected. The save call from the service configure form submits an empty string as the server URL if left blank, which I've indicated to do in order to use the default server, but Hash#merge will happily overwrite a full string with a blank string if asked, so we need to break that out, along with the worker options which get mutated into string hash keys, of which the HipChat client seems to not understand. Additionally, add another spec to make sure we call the Sidekiq worker with expected arguments.
Diffstat (limited to 'spec/models/commit_spec.rb')
0 files changed, 0 insertions, 0 deletions