Commit e1721398 authored by Samuel Giddins's avatar Samuel Giddins

Update installer specs for VERSION being 1.0

parent ee7fc9e5
...@@ -196,7 +196,6 @@ module Pod ...@@ -196,7 +196,6 @@ module Pod
end end
it 'does not deintegrate when the major version is the same' do it 'does not deintegrate when the major version is the same' do
VERSION.stubs(:to_s).returns('1.1.0')
should_not_deintegrate = %w(1.0.0 1.0.1 1.1.0 1.2.2) should_not_deintegrate = %w(1.0.0 1.0.1 1.1.0 1.2.2)
should_not_deintegrate.each do |version| should_not_deintegrate.each do |version|
lockfile = generate_lockfile(:lockfile_version => version) lockfile = generate_lockfile(:lockfile_version => version)
...@@ -207,7 +206,6 @@ module Pod ...@@ -207,7 +206,6 @@ module Pod
end end
it 'does deintegrate when the major version is different' do it 'does deintegrate when the major version is different' do
VERSION.stubs(:to_s).returns('1.1.0')
should_not_deintegrate = %w(0.39.0 2.0.0 10.0-beta) should_not_deintegrate = %w(0.39.0 2.0.0 10.0-beta)
should_not_deintegrate.each do |version| should_not_deintegrate.each do |version|
lockfile = generate_lockfile(:lockfile_version => version) lockfile = generate_lockfile(:lockfile_version => version)
......
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