summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/models/user_account_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/models/user_account_spec.rb b/spec/models/user_account_spec.rb
new file mode 100644
index 0000000..0f4dbe9
--- /dev/null
+++ b/spec/models/user_account_spec.rb
@@ -0,0 +1,8 @@
+require 'rails_helper'
+
+RSpec.describe UserAccount, type: :model do
+ it { should have_secure_password }
+ it { should validate_presence_of(:email) }
+ it { should validate_presence_of(:first_name) }
+ it { should validate_presence_of(:last_name) }
+end