lib/generators/rspec/scaffold/templates/index_spec.rb in rspec-rails-2.0.0.a8 vs lib/generators/rspec/scaffold/templates/index_spec.rb in rspec-rails-2.0.0.a9

- old
+ new

@@ -1,8 +1,8 @@ require 'spec_helper' <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%> -describe "/<%= table_name %>/index.html.<%= options[:template_engine] %>" do +describe "<%= table_name %>/index.html.<%= options[:template_engine] %>" do include <%= controller_class_name %>Helper before(:each) do assign(:<%= table_name %>, [ <% [1,2].each_with_index do |id, model_index| -%>