lib/mailstro/rspec.rb in mailstro-0.0.6 vs lib/mailstro/rspec.rb in mailstro-0.0.7
- old
+ new
@@ -1,15 +1,11 @@
-require 'mailstro/test'
+require 'mailstro/test_strategy'
RSpec.configure do |config|
config.before(:suite) do
- Mailstro::Test.enable
+ Mailstro::TestStrategy.enable
end
- config.after(:suite) do
- Mailstro::Test.disable
- end
-
config.before(:each) do
- Mailstro::Test.clear_deliveries
+ Mailstro::TestStrategy.clear
end
end