File tree 2 files changed +3
-3
lines changed
lib/puppet/provider/vcsrepo
spec/unit/puppet/provider/vcsrepo
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def working_copy_exists?
34
34
return false if not File . directory? ( @resource . value ( :path ) )
35
35
if @resource . value ( :source )
36
36
begin
37
- svn ( 'status ' , @resource . value ( :path ) )
37
+ svn ( 'info ' , @resource . value ( :path ) )
38
38
return true
39
39
rescue Puppet ::ExecutionFailure
40
40
return false
Original file line number Diff line number Diff line change 175
175
end
176
176
177
177
describe "checking existence" do
178
- it "should run `svn status ` on the path when there's a source" do
178
+ it "should run `svn info ` on the path when there's a source" do
179
179
resource [ :source ] = 'dummy'
180
180
expects_directory? ( true , resource . value ( :path ) )
181
- provider . expects ( :svn ) . with ( 'status ' , resource [ :path ] )
181
+ provider . expects ( :svn ) . with ( 'info ' , resource [ :path ] )
182
182
provider . exists?
183
183
end
184
184
it "should run `svnlook uuid` on the path when there's no source" do
You can’t perform that action at this time.
0 commit comments