Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit af9b613

Browse files
author
peppyheppy
committed
added clarity to the intentions for test block
1 parent 30f57a6 commit af9b613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/git_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module ::Rails; end
4141
expect(Git).to receive(:configured_git_dir).once.and_return(nil)
4242
end
4343

44-
it 'will not rails root if constant Rails is defined but does not respond to root' do
44+
it 'will not call method "root" (a 3rd time) if constant Rails is defined but does not respond to root' do
4545
expect(Git).to receive(:configured_git_dir).once.and_return(nil)
4646
expect(Rails).to receive(:root).twice.and_return('/path')
4747
end

0 commit comments

Comments
 (0)