Sha256: 1a8a65afc90005c0ce08b96385a60dc0b6f11e6d9edc6c7b80a4b18bd1882d6e

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

require 'spec_helper'

module Enki

  describe "/admin/pages/show.html" do
    after(:each) do
      rendered.should be_valid_html5_fragment
    end

    it 'should render' do
      assign :page, create(:page)
      render :template => '/enki/admin/pages/show', :formats => [:html]
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enki-engine-0.0.5 spec/views/admin/pages/show.html_spec.rb
enki-engine-0.0.4 spec/views/admin/pages/show.html_spec.rb
enki-engine-0.0.3 spec/views/admin/pages/show.html_spec.rb
enki-engine-0.0.2 spec/views/admin/pages/show.html_spec.rb