spec/lib/configuration_spec.rb in gitlab-mail_room-0.0.11 vs spec/lib/configuration_spec.rb in gitlab-mail_room-0.0.12

- old
+ new

@@ -3,10 +3,10 @@ describe MailRoom::Configuration do let(:config_path) {File.expand_path('../fixtures/test_config.yml', File.dirname(__FILE__))} describe '#initalize' do context 'with config_path' do - let(:configuration) { MailRoom::Configuration.new(:config_path => config_path) } + let(:configuration) { MailRoom::Configuration.new(config_path: config_path) } it 'parses yaml into mailbox objects' do MailRoom::Mailbox.stubs(:new).returns('mailbox1', 'mailbox2') expect(configuration.mailboxes).to eq(['mailbox1', 'mailbox2'])