Skip to content

Commit 3491720

Browse files
committed
adjust tests for default composer plugin api bump
1 parent 95caf91 commit 3491720

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/spec/composer-2_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
end
4444
end
4545
context "with only an index.php" do
46-
it "builds using Composer 2.2" do
46+
it "builds using Composer 2.3 or later" do
4747
new_app_with_stack_and_platrepo('test/fixtures/default').deploy do |app|
48-
expect(app.output).to match(/- composer \(2\.2\./)
49-
expect(app.output).to match(/Composer version 2\.2\./)
48+
expect(app.output).to match(/- composer \(2\.([3-9]|\d{2,})\./)
49+
expect(app.output).to match(/Composer version 2\.([3-9]|\d{2,}\.)/)
5050
end
5151
end
5252
end

0 commit comments

Comments
 (0)