diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-04-20 16:27:53 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-20 16:27:53 +0300 |
commit | a02e22438de38e4eca64e45c324af10626b3975c (patch) | |
tree | e4b6118887e52c14e9c8847de7eb9b1cb38b523e /spec/models/pool_repository_spec.rb | |
parent | 9c2b37d7c4621f8284530565fa1d361b12502715 (diff) |
Fix wrong use of ActiveRecord in PoolRepository
Diffstat (limited to 'spec/models/pool_repository_spec.rb')
-rw-r--r-- | spec/models/pool_repository_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/pool_repository_spec.rb b/spec/models/pool_repository_spec.rb index e5a3a3ad66e..ae00f9df89e 100644 --- a/spec/models/pool_repository_spec.rb +++ b/spec/models/pool_repository_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' describe PoolRepository do describe 'associations' do it { is_expected.to belong_to(:shard) } - it { is_expected.to have_one(:source_project) } + it { is_expected.to belong_to(:source_project) } it { is_expected.to have_many(:member_projects) } end |