Permalink
Browse files

Rather than calling superclass, use ancestors.

  • Loading branch information...
ioquatix committed Jan 7, 2018
1 parent 6ef8b09 commit b8c8ca2ed5f3517105848056614d6670cbcf5ecb
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/lib/guard/plugin_util_spec.rb
@@ -71,7 +71,7 @@
context "with a plugin inheriting from Guard::Plugin" do
before do
expect(guard_rspec_class).to receive(:superclass) { ::Guard::Plugin }
expect(guard_rspec_class).to receive(:ancestors) { [::Guard::Plugin] }
end
it "instantiate the plugin using the new API" do

0 comments on commit b8c8ca2

Please sign in to comment.