spec/version_spec.rb in pheme-5.2.5 vs spec/version_spec.rb in pheme-5.2.6
- old
+ new
@@ -25,9 +25,10 @@
is_main_branch = git.current_branch == 'main'
skip('already on main branch, no need to compare versions') if is_main_branch
head_version = get_version(git, 'HEAD')
+ puts "head_version " + head_version
raise 'no version.rb file found on the current branch' if head_version.nil?
expect(Gem::Version.new(head_version)).to be > Gem::Version.new(main_version)
end
end