Sha256: ade96fbd23fb86ed19656f34b0bce6553ef8df59a681603de600c52aa52e33d5
Contents?: true
Size: 625 Bytes
Versions: 32
Compression:
Stored size: 625 Bytes
Contents
require "rails_helper" describe Releaf::Root do describe ".configure_component" do it "adds new `Releaf::Root::Configuration` configuration with default controller resolver and assigns settings manager" do allow(Releaf::Root::Configuration).to receive(:new) .with(default_controller_resolver: Releaf::Root::DefaultControllerResolver).and_return("_new") expect(Releaf.application.config).to receive(:add_configuration).with("_new") expect(Releaf.application.config).to receive(:settings_manager=).with(Releaf::Root::SettingsManager) described_class.configure_component end end end
Version data entries
32 entries across 32 versions & 1 rubygems