Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Jul 17, 2024
1 parent 30deb0a commit 6dd442d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/routes/api/project/location/lantern_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@
end

it "updates extras extension" do
post "/api/project/#{project.ubid}/location/#{pg.location}/lantern/instance-1/update-extension", {extras_version: "0.2.3", lantern_version: Config.lantern_default_version}
post "/api/project/#{project.ubid}/location/#{pg.location}/lantern/instance-1/update-extension", {extras_version: "0.2.33", lantern_version: Config.lantern_default_version}
expect(last_response.status).to eq(200)
end
end

describe "#update-image" do
it "updates image" do
post "/api/project/#{project.ubid}/location/#{pg.location}/lantern/instance-1/update-image", {lantern_version: "0.2.3", extras_version: "0.2.3", minor_version: "1"}
post "/api/project/#{project.ubid}/location/#{pg.location}/lantern/instance-1/update-image", {lantern_version: "0.2.3", extras_version: "0.2.33", minor_version: "1"}
expect(last_response.status).to eq(200)
end
end
Expand Down

0 comments on commit 6dd442d

Please sign in to comment.