spec/danger_plugin_spec.rb in danger-mention-0.2 vs spec/danger_plugin_spec.rb in danger-mention-0.4.0
- old
+ new
@@ -1,10 +1,12 @@
require File.expand_path('../spec_helper', __FILE__)
module Danger
+
describe DangerMention do
before do
@mention = testing_dangerfile.mention
+ DangerMention.send(:public, *DangerMention.private_instance_methods)
end
it 'is a plugin' do
expect(Danger::DangerMention < Danger::Plugin).to be_truthy
end