Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: nteger not null, primary key # name :string(255) # email :string(255) # created_at :datetime # updated_at :datetime # require 'spec_helper' describe User do before { @user = User.new(name: 'Marc', email: 'marc@localhost.com', password: 'test1234', password_confirmation: 'test1234') } subject { @user } it { should be_valid } describe "when no name" do […]
↧