describe <%= namespaced_model_class %>::List, type: :cell do
controller ApplicationController let(:result) { Capybara::Node::Simple.new(html) } let(:items) do [<%= namespaced_model_class %>.new(id: 1)] end let(:html) do cell( described_class, model, ).() end it 'renders the list without error' do expect(result).to have_xpath '//ul' end
end