require 'spec_helper'

describe "deluxe_publisher/comments/new.html.erb" do
  before(:each) do
    assign(:comment, stub_model(DeluxePublisher::Comment,
      :page_id => 1,
      :author => "MyString",
      :body => "MyString",
      :status => "MyString"
    ).as_new_record)
  end

#  it "renders new comment form" do
#    render
#
#    # Run the generator again with the --webrat flag if you want to use webrat matchers
#    assert_select "form", :action => deluxe_publisher_comments_path, :method => "post" do
#      assert_select "input#comment_page_id", :name => "comment[page_id]"
#      assert_select "input#comment_author", :name => "comment[author]"
#      assert_select "input#comment_body", :name => "comment[body]"
#      assert_select "input#comment_status", :name => "comment[status]"
#    end
#  end
end
