summaryrefslogtreecommitdiff
path: root/spec/integration/ruby
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-03-04 11:03:04 -0700
committermo khan <mo.khan@gmail.com>2020-03-04 11:03:04 -0700
commit77bd1c9975fc2f12b457f4ca9990d788957af330 (patch)
treef5dcc150ed88206129ad93776bb326e502254464 /spec/integration/ruby
parent92003767408322277b043f4c64a305e1d893f958 (diff)
Extract shared example to convert QA jobs to integration tests
Diffstat (limited to 'spec/integration/ruby')
-rw-r--r--spec/integration/ruby/bundler_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/integration/ruby/bundler_spec.rb b/spec/integration/ruby/bundler_spec.rb
index d9b9c85..1245563 100644
--- a/spec/integration/ruby/bundler_spec.rb
+++ b/spec/integration/ruby/bundler_spec.rb
@@ -1,6 +1,8 @@
require 'spec_helper'
RSpec.describe "bundler" do
+ include_examples "each report version", "ruby", "bundler"
+
context "when the project depends on an older version of ruby specified in a `.ruby-version` file" do
it 'installs the required ruby and produces a valid report' do
runner.add_file('.ruby-version', 'ruby-2.4.9')