Move directory with project. Fixed all related path methods to use namespace

This commit is contained in:
Dmitriy Zaporozhets 2012-11-22 22:41:16 +03:00
parent e29ccece33
commit 71214bee75
9 changed files with 55 additions and 10 deletions

View file

@ -24,6 +24,7 @@ require 'spec_helper'
describe Project do
describe "Associations" do
it { should belong_to(:group) }
it { should belong_to(:namespace) }
it { should belong_to(:owner).class_name('User') }
it { should have_many(:users) }
it { should have_many(:events).dependent(:destroy) }