We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfb5078 commit fceec68Copy full SHA for fceec68
spec/lib/code_ownership/cli_spec.rb
@@ -78,8 +78,7 @@
78
allow(ENV).to receive(:fetch).with('CODEOWNERS_GIT_STAGED_FILES').and_return('other_file.rb')
79
end
80
81
- it 'prioritizes explicit files over git diff and warns the user' do
82
- expect($stderr).to receive(:puts).with('Warning: Ignoring --diff flag because explicit files were provided')
+ it 'prioritizes explicit files over git diff' do
83
expect(CodeOwnership).to receive(:validate!) do |args|
84
expect(args[:files]).to eq(['app/services/my_file.rb'])
85
0 commit comments