spec/msgr/msgr/client_spec.rb in msgr-0.3.0 vs spec/msgr/msgr/client_spec.rb in msgr-0.4.0
- old
+ new
@@ -45,7 +45,14 @@
.with(ssl: true, host: 'a.example.org', vhost: '/', user: 'guest')
Msgr::Client.new(uri: 'ampq://localhost', ssl: true, host: 'a.example.org').start
end
end
+
+ context 'routes' do
+ let(:params) { [ routing_file: 'config/msgr.rb']}
+ before { client.start }
+ subject { client.routes }
+ its(:files) { should eq ['config/msgr.rb'] }
+ end
end
end