diff options
author | jules2689 <julian@jnadeau.ca> | 2018-05-31 20:35:55 +0900 |
---|---|---|
committer | jules2689 <julian@jnadeau.ca> | 2018-05-31 20:35:55 +0900 |
commit | 39fb5fd9b3f9034780270ffbdb150200c8ce923a (patch) | |
tree | 17327339307c490423808350cd204866db01c816 /spec/bundler/plugin_spec.rb | |
parent | fdddb742067a3d8aee0b782d820305494d7b06c9 (diff) | |
download | bundler-39fb5fd9b3f9034780270ffbdb150200c8ce923a.tar.gz |
Fix a spec comparison, reset events in tests to avoid test order issues
Diffstat (limited to 'spec/bundler/plugin_spec.rb')
-rw-r--r-- | spec/bundler/plugin_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/bundler/plugin_spec.rb b/spec/bundler/plugin_spec.rb index 54814b0728..eaa0b80905 100644 --- a/spec/bundler/plugin_spec.rb +++ b/spec/bundler/plugin_spec.rb @@ -268,6 +268,7 @@ RSpec.describe Bundler::Plugin do s.write "plugins.rb", code end + Bundler::Plugin::Events.send(:reset) Bundler::Plugin::Events.send(:define, :EVENT_1, "event-1") Bundler::Plugin::Events.send(:define, :EVENT_2, "event-2") |