spec/client_spec.rb in jsparrow-1.1.3 vs spec/client_spec.rb in jsparrow-1.1.4
- old
+ new
@@ -1,14 +1,14 @@
require File.dirname(File.expand_path(__FILE__)) + '/spec_helper.rb'
-describe JSparrow::Connection::Client do
+describe JSparrow::Interactors::Client do
subject do
- create_jms_client
+ new_jms_client
end
- context 'When created' do
+ context 'when created' do
it 'should be started and stoped' do
subject.start
subject.is_started?.should be true
@@ -38,10 +38,10 @@
subject.stop
}.should raise_error JSparrow::Connection::InvalidStateError
end
end
- context 'When started' do
+ context 'when started' do
before(:all) do
subject.start
end
\ No newline at end of file