Commit ed2ebcbe authored by Fabio Pelosin's avatar Fabio Pelosin

[SandboxAnalyzer] Fix spelling

parent fa609480
......@@ -150,7 +150,7 @@ module Pod
return true if resolved_spec_names(pod) != sandbox_spec_names(pod)
return true if sandbox.predownloaded?(pod)
return true if folder_empty?(pod)
return true if sandbox.head_pod?(pod) != sandbox_head_verision?(pod)
return true if sandbox.head_pod?(pod) != sandbox_head_version?(pod)
if update_mode
return true if sandbox.head_pod?(pod)
end
......@@ -239,7 +239,7 @@ module Pod
# @return [Bool] Wether the Pod is installed in the sandbox is in head
# mode.
#
def sandbox_head_verision?(pod)
def sandbox_head_version?(pod)
sandbox_version(pod).head? == true
end
......
......@@ -101,7 +101,7 @@ module Pod
it "doesn't consider changed a Pod whose specification is in head mode if not in update mode" do
@sandbox.stubs(:head_pod?).returns(true)
@analyzer.stubs(:sandbox_head_verision?).returns(true)
@analyzer.stubs(:sandbox_head_version?).returns(true)
@analyzer.stubs(:update_mode).returns(false)
@analyzer.send(:pod_changed?, 'BananaLib').should == false
end
......
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