Commit 9cc0a14f authored by Samuel E. Giddins's avatar Samuel E. Giddins

[AnalyzerSpec] Fix spec for lockfile checkout options

Make it more like an environment where the source is already downloaded.
parent 266f42e1
...@@ -633,6 +633,10 @@ module Pod ...@@ -633,6 +633,10 @@ module Pod
before do before do
@sandbox_manifest = Pod::Lockfile.new(@lockfile.internal_data.deep_dup) @sandbox_manifest = Pod::Lockfile.new(@lockfile.internal_data.deep_dup)
@analyzer.sandbox.manifest = @sandbox_manifest @analyzer.sandbox.manifest = @sandbox_manifest
@analyzer.sandbox.stubs(:specification).with('BananaLib').returns(stub)
pod_dir = stub
pod_dir.stubs(:directory?).returns(true)
@analyzer.sandbox.stubs(:pod_dir).with('BananaLib').returns(pod_dir)
end end
it 'returns whether or not an update is required' do it 'returns whether or not an update is required' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment