forked from bofh/fetsite
16 lines
368 B
Ruby
16 lines
368 B
Ruby
require 'spec_helper'
|
|
|
|
describe "comments/edit" do
|
|
before(:each) do
|
|
@comment = assign(:comment, stub_model(Comment))
|
|
end
|
|
|
|
it "renders the edit comment form" do
|
|
render
|
|
|
|
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
|
assert_select "form[action=?][method=?]", comment_path(@comment), "post" do
|
|
end
|
|
end
|
|
end
|