File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
GitVersionExe/GemAssets/spec/lib Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 83
83
84
84
describe '#inspect' do
85
85
context 'no properties accessed yet' do
86
- it 'writes what will happen' do
86
+ it 'should write what will happen' do
87
87
expect ( subject . inspect ) . to match ( /.+GitVersion.+\n Will invoke .+GitVersion.exe when first used./ )
88
88
end
89
89
end
93
93
allow ( Open3 ) . to receive ( :capture2e ) . and_return ( [ '{ "Sha": 1234 }' , OpenStruct . new ( success? : true ) ] )
94
94
}
95
95
96
- it 'writes what happened' do
96
+ it 'should write what happened' do
97
97
subject . sha
98
98
expect ( subject . inspect ) . to match ( /.+GitVersion.+\n Invoked .+GitVersion.exe and parsed its output:\n .+/ )
99
99
end
Original file line number Diff line number Diff line change 3
3
describe GitVersion do
4
4
include described_class
5
5
6
- it 'creates a GitVersionParser' do
6
+ it 'should create a ' + GitVersion :: Parser . to_s do
7
7
expect ( git_version ) . to be_an_instance_of ( GitVersion ::Parser )
8
8
end
9
9
end
You can’t perform that action at this time.
0 commit comments