Sha256: 2d4c9604342588f6c360c6a08021841f6f2323d08d2b509707876da55a3dc03b
Contents?: true
Size: 438 Bytes
Versions: 2
Compression:
Stored size: 438 Bytes
Contents
require 'spec_helper' describe "setup initializer" do it "sets a default mailer_sender" do expect(NotifyUser.mailer_sender).to eq "please-change-me-at-config-initializers-notify-user@example.com" end it "sets an authentication method" do expect(NotifyUser.authentication_method).to eq :authenticate_user! end it "sets a current user method" do expect(NotifyUser.current_user_method).to eq :current_user end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
notify_user-0.3.2 | spec/setup_spec.rb |
notify_user-0.3.1 | spec/setup_spec.rb |