spec/setup_spec.rb in notify_user-0.1.4 vs spec/setup_spec.rb in notify_user-0.3.1
- old
+ new
@@ -1,17 +1,16 @@
require 'spec_helper'
describe "setup initializer" do
it "sets a default mailer_sender" do
- NotifyUser.mailer_sender.should eq "please-change-me-at-config-initializers-notify-user@example.com"
+ expect(NotifyUser.mailer_sender).to eq "please-change-me-at-config-initializers-notify-user@example.com"
end
it "sets an authentication method" do
- NotifyUser.authentication_method.should eq :authenticate_user!
+ expect(NotifyUser.authentication_method).to eq :authenticate_user!
end
it "sets a current user method" do
- NotifyUser.current_user_method.should eq :current_user
+ expect(NotifyUser.current_user_method).to eq :current_user
end
-
end
\ No newline at end of file