summaryrefslogtreecommitdiff
path: root/spec/integration/php
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-20 17:08:23 -0600
committermo khan <mo.khan@gmail.com>2020-03-26 20:04:48 -0600
commit38a2f3123bb4dc6ec2f7479a0e682c92b81a954b (patch)
tree16feaf24e3c5ca71bd1c5d93a0504b2e18cf6919 /spec/integration/php
parent4db9ccdf7a07654e7d546b5a6ab7467cf3818c93 (diff)
Install pip packages from a custom index
* Read PIP_INDEX_URL to identify where to download packages from
Diffstat (limited to 'spec/integration/php')
-rw-r--r--spec/integration/php/composer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/php/composer_spec.rb b/spec/integration/php/composer_spec.rb
index 2b6d697..1419dd4 100644
--- a/spec/integration/php/composer_spec.rb
+++ b/spec/integration/php/composer_spec.rb
@@ -6,7 +6,7 @@ RSpec.describe "composer" do
context "when the project's dependencies require php-gd e.g. in the case of Drupal" do
it 'installs the required dependencies and produces a valid report' do
# composer.json from https://git.drupalcode.org/project/drupal/raw/8.7.x/core/composer.json
- runner.add_file('composer.json', fixture_file_content('drupal_composer.json'))
+ runner.add_file('composer.json', fixture_file_content('php/drupal_composer.json'))
report = runner.scan
expect(report).to match_schema(version: '2.0')