started implementing teams

This commit is contained in:
Hauke Klement
2015-01-28 12:28:09 +01:00
parent cf346e2271
commit dd624b26c8
25 changed files with 355 additions and 3 deletions

9
spec/models/team_spec.rb Normal file
View 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