Skip to content

Commit 2eeef52

Browse files
committed
Tuning spec wording a bit
1 parent 15b5c3f commit 2eeef52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

GitVersionExe/GemAssets/spec/lib/git_version/parser_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
describe '#inspect' do
8585
context 'no properties accessed yet' do
86-
it 'writes what will happen' do
86+
it 'should write what will happen' do
8787
expect(subject.inspect).to match(/.+GitVersion.+\nWill invoke .+GitVersion.exe when first used./)
8888
end
8989
end
@@ -93,7 +93,7 @@
9393
allow(Open3).to receive(:capture2e).and_return(['{ "Sha": 1234 }', OpenStruct.new(success?: true)])
9494
}
9595

96-
it 'writes what happened' do
96+
it 'should write what happened' do
9797
subject.sha
9898
expect(subject.inspect).to match(/.+GitVersion.+\nInvoked .+GitVersion.exe and parsed its output:\n.+/)
9999
end

GitVersionExe/GemAssets/spec/lib/git_version_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
describe GitVersion do
44
include described_class
55

6-
it 'creates a GitVersionParser' do
6+
it 'should create a ' + GitVersion::Parser.to_s do
77
expect(git_version).to be_an_instance_of(GitVersion::Parser)
88
end
99
end

0 commit comments

Comments
 (0)