Stop testing views

There is no logic involved in assigning a CSS class...
This commit is contained in:
Henne Vogelsang 2022-02-16 12:26:09 +01:00
parent c967a0b9a4
commit c436ae172c
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6

View file

@ -1,11 +0,0 @@
require 'spec_helper'
describe 'layouts/application.haml' do
let(:conference) { create(:conference) }
it 'assigns a class to the body identifying the current conference' do
assign(:conference, conference)
render
expect(rendered).to have_selector("body.conference-#{conference.short_title}")
end
end