started implementing teams
This commit is contained in:
9
spec/models/team_spec.rb
Normal file
9
spec/models/team_spec.rb
Normal file
@ -0,0 +1,9 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe Team do
|
||||
let(:team) { Team.create }
|
||||
|
||||
it 'validates the presence of a name' do
|
||||
expect(team.errors[:name]).to be_present
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user