Sha256: cb83a7a73a78985c980361638b8114c8501eb5e856b212722123edd33f984790
Contents?: true
Size: 637 Bytes
Versions: 5
Compression:
Stored size: 637 Bytes
Contents
RSpec.shared_context "with application dependencies" do let(:configuration) { Etcher.new(<%= configuration.project_namespaced_class %>::Container[:defaults]).call.bind(&:dup) } let(:xdg_config) { Runcom::Config.new <%= configuration.project_namespaced_class %>::Container[:defaults_path] } let(:kernel) { class_spy Kernel } let(:logger) { Cogger.new id: "<%= configuration.project_name %>", io: StringIO.new, level: :debug } before { <%= configuration.project_namespaced_class %>::Container.stub! configuration:, xdg_config:, kernel:, logger: } after { <%= configuration.project_namespaced_class %>::Container.restore } end
Version data entries
5 entries across 5 versions & 1 rubygems