Sha256: ad3d270d17bfee12143701899979519e1b7a5c6cd8f3cfde23b2cd8be3c7a8ee
Contents?: true
Size: 725 Bytes
Versions: 6
Compression:
Stored size: 725 Bytes
Contents
require "support/isolated_environment" shared_context "acceptance" do # Setup the environment so that we have an isolated area to run our acceptance tests let!(:environment) { Support::IsolatedEnvironment.new } after do environment.close end # Executes the given command in the context of the isolated environment. # # @return [Object] def execute(*args, &block) environment.execute(*args, &block) end # This method is an assertion helper for asserting that a process # succeeds. It is a wrapper around `execute` that asserts that the # exit status was successful. def assert_execute(*args, &block) result = execute(*args, &block) expect(result).to succeed result end end
Version data entries
6 entries across 6 versions & 1 rubygems