| Module | Specinfra::Helper::Configuration |
| In: |
lib/specinfra/helper/configuration.rb
|
You can create a set of configurations provided to all specs in your spec_helper:
RSpec.configure { |c| c.pre_command = "source ~/.zshrc" }
Any configurations you provide with `let(:option_name)` in a spec will automatically be merged on top of the configurations.
@example
describe 'Gem' do
let(:pre_command) { "source ~/.zshrc" }
%w(pry awesome_print bundler).each do |p|
describe package(p) do
it { should be_installed.by('gem') }
end
end
end