spec/spanx/notifier/email_spec.rb in spanx-0.1.0 vs spec/spanx/notifier/email_spec.rb in spanx-0.1.1

- old
+ new

@@ -45,10 +45,10 @@ subject { Spanx::Notifier::Email.new(config) } let(:time_blocked) { Time.now } let(:period) { mock() } let(:action) { Spanx::IPChecker.new("1.2.3.4") } - let(:blocked_ip) { Pause::BlockedAction.new(action, period, 50, time_blocked) } + let(:blocked_ip) { Pause::RateLimitedEvent.new(action, period, 50, time_blocked) } before { Spanx::Notifier::Email.any_instance.stub(:configure_email_gateway) } context "when disabled" do let(:config) { {} }