Few more fixes after removing roles
This commit is contained in:
parent
cac7723451
commit
40a956eb68
5 changed files with 2 additions and 19 deletions
|
@ -133,14 +133,6 @@ describe Project do
|
|||
it { should respond_to(:path_with_namespace) }
|
||||
end
|
||||
|
||||
describe 'modules' do
|
||||
it { should include_module(Repository) }
|
||||
it { should include_module(PushObserver) }
|
||||
it { should include_module(Authority) }
|
||||
it { should include_module(Team) }
|
||||
it { should include_module(NamespacedProject) }
|
||||
end
|
||||
|
||||
it "should return valid url to repo" do
|
||||
project = Project.new(path: "somewhere")
|
||||
project.url_to_repo.should == Gitlab.config.gitolite.ssh_path_prefix + "somewhere.git"
|
||||
|
|
|
@ -65,10 +65,6 @@ describe User do
|
|||
it { should ensure_length_of(:bio).is_within(0..255) }
|
||||
end
|
||||
|
||||
describe 'modules' do
|
||||
it { should include_module(Account) }
|
||||
end
|
||||
|
||||
describe "Respond to" do
|
||||
it { should respond_to(:is_admin?) }
|
||||
it { should respond_to(:identifier) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue