Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 03779e1693
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.395 kb
require File.dirname(__FILE__) + '/../../../spec_helper'
describe "/admin/posts/show.html" do
after(:each) do
rendered.should be_valid_html5_fragment
end
it 'should render' do
assign :post, Post.new(
:title => 'A Post',
:published_at => Time.now,
:slug => 'a-post'
)
render :template => '/admin/posts/show', :formats => [:html]
end
end
Jump to Line
Something went wrong with that request. Please try again.