Merge pull request #3519 from sjackman/svn
Fix a test failure when svn is not installed
This commit is contained in:
commit
e3a8f815b3
@ -7,7 +7,11 @@ describe Utils do
|
||||
end
|
||||
|
||||
it "returns svn version if svn available" do
|
||||
expect(described_class.svn_available?).to be_truthy
|
||||
if File.executable? "/usr/bin/svn"
|
||||
expect(described_class.svn_available?).to be_truthy
|
||||
else
|
||||
expect(described_class.svn_available?).to be_falsey
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user