forked from bofh/fetsite
comments
This commit is contained in:
15
spec/views/comments/index.html.erb_spec.rb
Normal file
15
spec/views/comments/index.html.erb_spec.rb
Normal file
@@ -0,0 +1,15 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe "comments/index" do
|
||||
before(:each) do
|
||||
assign(:comments, [
|
||||
stub_model(Comment),
|
||||
stub_model(Comment)
|
||||
])
|
||||
end
|
||||
|
||||
it "renders a list of comments" do
|
||||
render
|
||||
# Run the generator again with the --webrat flag if you want to use webrat matchers
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user