spec/support/fake_sqs.rb in sqs_web-0.0.1 vs spec/support/fake_sqs.rb in sqs_web-0.0.2
- old
+ new
@@ -11,9 +11,9 @@
SqsWeb.options[:aws][:access_key_id] = "fake"
SqsWeb.options[:aws][:secret_access_key] = "fake"
SqsWeb.options[:aws][:endpoint] = $fake_sqs.uri
RSpec.configure do |config|
- config.before(:each, :sqs) { $fake_sqs.start }
+ config.before(:suite) { $fake_sqs.start }
config.before(:each, :sqs) { $fake_sqs.reset }
config.after(:suite) { $fake_sqs.stop }
end