minor changes to spec_helper and user model

This commit is contained in:
Michael McCabe
2013-09-06 15:54:06 -04:00
parent dc3de592ea
commit 69c180e845
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -18,6 +18,8 @@ class User < ActiveRecord::Base
has_many :performance, :foreign_key => :user_id, :primary_key => :user_id, :dependent => :destroy
private
def full_name
"#{self.first_name} #{self.last_name}"
end
-1
View File
@@ -1,7 +1,6 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'minitest/autorun'
require 'rspec/rails'
require 'rspec/autorun'