Skip to content

Commit

Permalink
Update installer specs for VERSION being 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Dec 30, 2015
1 parent ee7fc9e commit e172139
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/unit/installer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ def @installer.analyze(*)
end

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.each do |version|
lockfile = generate_lockfile(:lockfile_version => version)
Expand All @@ -207,7 +206,6 @@ def @installer.analyze(*)
end

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.each do |version|
lockfile = generate_lockfile(:lockfile_version => version)
Expand Down

0 comments on commit e172139

Please sign in to comment.