Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: l.downcase ActiveRecord::RecordNotFound: Couldn't find User without an ID # ./spec/models/user_spec.rb:72:in `block (3 levels) in <top (required)>' describe User do before do @user = User.new(name: "Example User", email: "user@example.com", password: "foobar", password_confirmation: "foobar") end subject {@user} it {should respond_to(:name)} it {should respond_to(:email)} it {should respond_to(:password_digest)} it {should respond_to(:password)} it {should respond_to(:password_confi […]
↧