Sha256: 2482de8a0837c91458ec6460366027f7b37065024b70b729edca2fac4334b445
Contents?: true
Size: 560 Bytes
Versions: 10
Compression:
Stored size: 560 Bytes
Contents
require 'spec_helper' require 'haml' describe 'pugin/layouts/pugin.html.haml', type: :view do context 'with a fully implemented person' do let(:person) { double('Grom::Node') } before :each do allow(person).to receive(:name).and_return('Jane Smith') allow(person).to receive(:position).and_return('Minister for Tests') allow(person).to receive(:id).and_return('123') end it 'renders HAML without errors' do render expect(rendered).to have_title(I18n.t('.pugin.layouts.pugin.website_brand')) end end end
Version data entries
10 entries across 10 versions & 1 rubygems