diff options
author | Adam Pahlevi <adam.pahlevi@gmail.com> | 2017-02-03 02:43:19 +0300 |
---|---|---|
committer | Adam Pahlevi <adam.pahlevi@gmail.com> | 2017-02-03 03:14:04 +0300 |
commit | a0586dbc165cc09422412149712a218938137308 (patch) | |
tree | 1918196171212c48a28bb4e28b6b0fed5f3ad2f2 /spec/lib | |
parent | d777e6f1da98be64b872a2bea2222f3e037a3d4d (diff) |
replace `find_with_namespace` with `find_by_full_path`
add complete changelog for !8949
Diffstat (limited to 'spec/lib')
-rw-r--r-- | spec/lib/banzai/cross_project_reference_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/cross_project_reference_spec.rb b/spec/lib/banzai/cross_project_reference_spec.rb index 81b9a513ce3..deaabceef1c 100644 --- a/spec/lib/banzai/cross_project_reference_spec.rb +++ b/spec/lib/banzai/cross_project_reference_spec.rb @@ -24,7 +24,7 @@ describe Banzai::CrossProjectReference, lib: true do it 'returns the referenced project' do project2 = double('referenced project') - expect(Project).to receive(:find_with_namespace). + expect(Project).to receive(:find_by_full_path). with('cross/reference').and_return(project2) expect(project_from_ref('cross/reference')).to eq project2 |