Sha256: 8994371e007271b49a28ba6b74de28684265a84f16ece8aa3787cd7e21702c30
Contents?: true
Size: 946 Bytes
Versions: 2
Compression:
Stored size: 946 Bytes
Contents
require File.expand_path('../spec_helper', __FILE__) module Danger describe Danger::DangerStaticAnalyzerComments do it 'should be a plugin' do expect(Danger::DangerStaticAnalyzerComments.new(nil)).to be_a Danger::Plugin end describe 'with Dangerfile' do before do @dangerfile = testing_dangerfile @static_analyzer_comments = @dangerfile.static_analyzer_comments allow(@static_analyzer_comments.git).to receive(:deleted_files).and_return([]) allow(@static_analyzer_comments.git).to receive(:added_files).and_return([]) allow(@static_analyzer_comments.git).to receive(:modified_files).and_return( [ "/Users/gustavo/Developer/app-android/app/src/main/java/com/loadsmart/common/views/AvatarView.java", "/Users/gustavo/Developer/app-android/app/src/main/java/com/loadsmart/analytics/Events.java" ]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
danger-static_analyzer_comments-0.0.2 | spec/danger_static_analyzer_comments_spec.rb |
danger-static_analyzer_comments-0.0.1 | spec/danger_static_analyzer_comments_spec.rb |