Sha256: e1d860debfc51185f5ae4eb15e0cbe9f2b2bff2b6adadb67dc115e93b1a10cfc

Contents?: true

Size: 293 Bytes

Versions: 4

Compression:

Stored size: 293 Bytes

Contents

require 'spec_helper'

module Enki

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

    it 'should render' do
      assign :post, Post.new
      render :template => '/enki/admin/posts/new', :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/posts/new.html_spec.rb
enki-engine-0.0.4 spec/views/admin/posts/new.html_spec.rb
enki-engine-0.0.3 spec/views/admin/posts/new.html_spec.rb
enki-engine-0.0.2 spec/views/admin/posts/new.html_spec.rb