lib/templates/rspec/scaffold/edit_spec.rb in stationed-0.4.0 vs lib/templates/rspec/scaffold/edit_spec.rb in stationed-0.5.0

- old
+ new

@@ -1,8 +1,6 @@ -require 'spec_helper' - <% output_attributes = attributes.reject{|attribute| [:datetime, :timestamp, :time, :date].index(attribute.type) } -%> -describe "<%= ns_table_name %>/edit" do +RSpec.describe "<%= ns_table_name %>/edit", type: :view do let(:<%= ns_file_name %>) { build_stubbed :<%= ns_file_name %> } before do assign :<%= ns_file_name %>, <%= ns_file_name %> end