spec/views/hyrax/admin/stats/show.html.erb_spec.rb in hyrax-2.3.3 vs spec/views/hyrax/admin/stats/show.html.erb_spec.rb in hyrax-2.4.0
- old
+ new
@@ -10,9 +10,10 @@
allow(presenter).to receive(:depositors).and_return([])
end
context 'locales' do
before do
+ allow(presenter).to receive(:active_users).and_return([])
render
end
it 'includes a default locale hidden input' do
expect(rendered).to have_selector 'input', exact: 'en'
end