diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-02-28 17:10:28 +0100 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-02-28 17:10:28 +0100 |
commit | e47a2ca30ab9be7ef77ac5fb6fe4a8224dab6f72 (patch) | |
tree | 2bc33167c86d3b2119f9dd1df4bc36b2216d4cef /lib/api/variables.rb | |
parent | 65348cf07bafef5efc1c9665d3efdb5a1bdd7128 (diff) | |
download | gitlab-ce-e47a2ca30ab9be7ef77ac5fb6fe4a8224dab6f72.tar.gz |
Remove use of any_instance_of in runner specbuild-finished-worker-spec-prepend
In EE we prepend a module into BuildFinishedWorker. This would cause
this spec to fail because RSpec doesn't support the use of
"any_instance_of" with classes that include a prepended module.
To work around this we just stub the "perform_async" class method
instead of stubbing the "perform" instance method.
Diffstat (limited to 'lib/api/variables.rb')
0 files changed, 0 insertions, 0 deletions