Skip to content

Commit fa160c2

Browse files
committed
Stub version_tagged? in resolve_version_input spec
1 parent 36d96e9 commit fa160c2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

react_on_rails/spec/react_on_rails/release_rake_helpers_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@
205205
it "falls back to a patch bump when the changelog does not introduce a newer version" do
206206
allow(self).to receive(:extract_latest_changelog_version).with(monorepo_root: "/tmp/repo").and_return("16.3.0")
207207
allow(self).to receive(:current_gem_version).with("/tmp/repo").and_return("16.3.0")
208+
allow(self).to receive(:version_tagged?).with("/tmp/repo", "16.3.0").and_return(true)
208209

209210
expect(resolve_version_input("", "/tmp/repo")).to eq("patch")
210211
end

0 commit comments

Comments
 (0)