Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 03779e1693
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.288 kB
require File.dirname(__FILE__) + '/../../../spec_helper'
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 => '/admin/posts/new', :formats => [:html]
end
end
Jump to Line
Something went wrong with that request. Please try again.