diff options
Diffstat (limited to 'spec/spec_helper.rb')
| -rw-r--r-- | spec/spec_helper.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2282613..be7673c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,18 @@ require 'license/management' +require 'json' +require 'support/integration_test_helper' RSpec.configure do |config| + config.include IntegrationTestHelper, type: :integration + config.define_derived_metadata(file_path: /\/spec\/integration/) do |metadata| + metadata[:type] = :integration + end + config.before(:suite) do + system('./bin/docker-build') unless ENV['LM_HOME'] + end + config.after(:example, type: :integration) do + runner.cleanup + end config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end |
