diff options
Diffstat (limited to 'spec/presenters/project_presenter_spec.rb')
-rw-r--r-- | spec/presenters/project_presenter_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/presenters/project_presenter_spec.rb b/spec/presenters/project_presenter_spec.rb index eb1ff628d14..4b4d8ee85db 100644 --- a/spec/presenters/project_presenter_spec.rb +++ b/spec/presenters/project_presenter_spec.rb @@ -525,7 +525,7 @@ RSpec.describe ProjectPresenter do end describe '#statistics_buttons' do - let(:project) { build(:project) } + let(:project) { build_stubbed(:project) } it 'orders the items correctly' do allow(project.repository).to receive(:readme).and_return(double(name: 'readme')) |