From fb0df181727de786b49b5c922f75077c2b5cc37c Mon Sep 17 00:00:00 2001 From: ViniCarv Date: Fri, 9 Jun 2017 09:40:13 -0300 Subject: [PATCH 1/8] Stars works --- app/controllers/alumns_controller.rb | 21 +++++++++++-------- app/models/alumn.rb | 12 ++++++++++- app/views/alumns/index.html.erb | 8 +++++++- app/views/alumns/index.xls.erb | 30 ++++++++++++++++++++++++++++ config/application.rb | 2 +- config/initializers/mime_types.rb | 1 + 6 files changed, 63 insertions(+), 11 deletions(-) create mode 100644 app/views/alumns/index.xls.erb diff --git a/app/controllers/alumns_controller.rb b/app/controllers/alumns_controller.rb index de5b6eb..0a5b2fe 100644 --- a/app/controllers/alumns_controller.rb +++ b/app/controllers/alumns_controller.rb @@ -9,6 +9,11 @@ def index @alumns = @current_user.alumns elsif ( is_employee? ) @alumns = Alumn.all + respond_to do |format| + format.html + format.csv { send_data @alumns.to_csv } + format.xls # { send_data @alumns.to_csv(col_sep: "\t") } + end if params[:search] @alumns = Alumn.search(params[:search]).order("created_at DESC") if (@alumns.empty?) @@ -21,7 +26,7 @@ def index @alumns = Alumn.all.order('created_at DESC') end else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end @@ -32,7 +37,7 @@ def show @alumn = Alumn.find(id) Alumn.current = @alumn else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end @@ -42,7 +47,7 @@ def new @@parent = Parent.find(params[:parent_id]) @classrooms = Classroom.all.order('name_classroom') else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end @@ -51,7 +56,7 @@ def edit @alumn = Alumn.find(params[:id]) @classrooms = Classroom.all.order('name_classroom') else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end @@ -67,7 +72,7 @@ def create render 'new' end else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end @@ -82,7 +87,7 @@ def update render 'edit' end else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end @@ -99,7 +104,7 @@ def edit_password_alumn @user = Alumn.find(params[:id]) render action: "../users/edit_password" else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end @@ -112,7 +117,7 @@ def update_password_alumn render action: "../users/edit_password" end else - redirect_to "/errors/error_500" + redirect_to "/errors/error_500" end end diff --git a/app/models/alumn.rb b/app/models/alumn.rb index c531b25..9295bb3 100644 --- a/app/models/alumn.rb +++ b/app/models/alumn.rb @@ -76,6 +76,16 @@ def self.current @current_alumn end + def self.to_csv() + attributes = %w{name registry quantity_strike} + CSV.generate(headers: true) do |csv| + csv << attributes + all.each do |alumn| + csv << alumn.attributes.values_at(*attributes) + end + end +end + private def validates_password if self.password_digest.nil? @@ -97,4 +107,4 @@ def image_size_validation def self.search(search) where("registry LIKE ? OR name LIKE ?", "#{search}", "%#{search}%") end -end \ No newline at end of file +end diff --git a/app/views/alumns/index.html.erb b/app/views/alumns/index.html.erb index c20eab1..162662f 100644 --- a/app/views/alumns/index.html.erb +++ b/app/views/alumns/index.html.erb @@ -18,6 +18,12 @@ <%= render "layouts/feedback_messages" %> +

+ Download: + <%= link_to "CSV", alumns_path(format: "csv") %> | + <%= link_to "Excel", alumns_path(format: "xls") %> +

+
<% @alumns.each do |alumn| %>
@@ -26,7 +32,7 @@ <% if alumn.image_file_name == nil %> <%= image_tag("avatar_250x300.png", alt: "", class: "img-responsive" ) %> <% else %> - <%= image_tag(alumn.image.url(:original), alt: "", class: "img-responsive") %> + <%= image_tag(alumn.image.url(:original), alt: "", class: "img-responsive") %> <%end%>
diff --git a/app/views/alumns/index.xls.erb b/app/views/alumns/index.xls.erb new file mode 100644 index 0000000..c7dafad --- /dev/null +++ b/app/views/alumns/index.xls.erb @@ -0,0 +1,30 @@ + + + + + + Nome + Matrícula + Turma + Qtd Advertências + Matérias + + <% @alumns.each do |alumn| %> + + <%= alumn.name %> + <%= alumn.registry %> + <%= alumn.classroom.name_classroom %> + <%= alumn.quantity_strike %> + <% alumn.classroom.subjects.each do |subject| %> + <%= subject.name_subject %> + + <% end %> + + <% end %> +
+
+
diff --git a/config/application.rb b/config/application.rb index 25a78bf..289d444 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,7 +1,7 @@ require_relative 'boot' require 'rails/all' - +require 'csv' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb index dc18996..d277a3c 100644 --- a/config/initializers/mime_types.rb +++ b/config/initializers/mime_types.rb @@ -2,3 +2,4 @@ # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf +Mime::Type.register "application/xls", :xls From a49b0b6b17093b001129605bcc04019c15604799 Mon Sep 17 00:00:00 2001 From: LeonardoRk Date: Fri, 9 Jun 2017 21:36:51 -0300 Subject: [PATCH 2/8] adds on csv name, subject --- app/controllers/alumns_controller.rb | 6 ++- app/controllers/csv_controller.rb | 13 +++++ app/helpers/csv_helper.rb | 2 + app/models/alumn.rb | 12 ++--- app/views/alumns/index.xls.erb | 68 ++++++++++++++----------- app/views/alumns/report.html.erb | 32 +----------- spec/controllers/csv_controller_spec.rb | 5 ++ spec/helpers/csv_helper_spec.rb | 15 ++++++ 8 files changed, 84 insertions(+), 69 deletions(-) create mode 100644 app/controllers/csv_controller.rb create mode 100644 app/helpers/csv_helper.rb create mode 100644 spec/controllers/csv_controller_spec.rb create mode 100644 spec/helpers/csv_helper_spec.rb diff --git a/app/controllers/alumns_controller.rb b/app/controllers/alumns_controller.rb index 0a5b2fe..7266f48 100644 --- a/app/controllers/alumns_controller.rb +++ b/app/controllers/alumns_controller.rb @@ -9,10 +9,12 @@ def index @alumns = @current_user.alumns elsif ( is_employee? ) @alumns = Alumn.all - respond_to do |format| + @grades = Array.new + respond_to do |format| format.html format.csv { send_data @alumns.to_csv } - format.xls # { send_data @alumns.to_csv(col_sep: "\t") } + format.xls #{ send_data @alumns.to_csv (col_sep: "\t")} + end if params[:search] @alumns = Alumn.search(params[:search]).order("created_at DESC") diff --git a/app/controllers/csv_controller.rb b/app/controllers/csv_controller.rb new file mode 100644 index 0000000..6917cb7 --- /dev/null +++ b/app/controllers/csv_controller.rb @@ -0,0 +1,13 @@ +class CsvController < ApplicationController + + + def index + @report = Product.order(:subject) + respond_to do |format| + format.html + format.csv { send_data @report.to_csv } + end + end + + +end diff --git a/app/helpers/csv_helper.rb b/app/helpers/csv_helper.rb new file mode 100644 index 0000000..dd81dd2 --- /dev/null +++ b/app/helpers/csv_helper.rb @@ -0,0 +1,2 @@ +module CsvHelper +end diff --git a/app/models/alumn.rb b/app/models/alumn.rb index 9295bb3..445e0ac 100644 --- a/app/models/alumn.rb +++ b/app/models/alumn.rb @@ -76,15 +76,15 @@ def self.current @current_alumn end - def self.to_csv() + def self.to_csv attributes = %w{name registry quantity_strike} - CSV.generate(headers: true) do |csv| - csv << attributes - all.each do |alumn| - csv << alumn.attributes.values_at(*attributes) + CSV.generate do |csv| + csv << attributes + all.each do |alumn| + csv << alumn.attributes.values_at(*attributes) + end end end -end private def validates_password diff --git a/app/views/alumns/index.xls.erb b/app/views/alumns/index.xls.erb index c7dafad..673bb39 100644 --- a/app/views/alumns/index.xls.erb +++ b/app/views/alumns/index.xls.erb @@ -1,30 +1,38 @@ - - - - - - Nome - Matrícula - Turma - Qtd Advertências - Matérias - - <% @alumns.each do |alumn| %> - - <%= alumn.name %> - <%= alumn.registry %> - <%= alumn.classroom.name_classroom %> - <%= alumn.quantity_strike %> - <% alumn.classroom.subjects.each do |subject| %> - <%= subject.name_subject %> - - <% end %> - - <% end %> -
-
-
+ + + + + + + + + + + <% @alumns.each do |alumn| %> + + + + + + + + + + <% end %> + + diff --git a/app/views/alumns/report.html.erb b/app/views/alumns/report.html.erb index 2ff474a..f151d44 100644 --- a/app/views/alumns/report.html.erb +++ b/app/views/alumns/report.html.erb @@ -142,37 +142,7 @@ - +
NomeMatériaNotasFaltas
<%= alumn.name%> + + + <% alumn.classroom.subjects.each do |subject| %> + <%= subject.name_subject %>
+ + + <% end %> + +
+ + + <% alumn.school_misses.each do |miss| %> + <$= miss.date.day %>/<%= miss.date.month %>/<%= miss.date.year %>
+ <% end %> +
diff --git a/spec/controllers/csv_controller_spec.rb b/spec/controllers/csv_controller_spec.rb new file mode 100644 index 0000000..ab6cd51 --- /dev/null +++ b/spec/controllers/csv_controller_spec.rb @@ -0,0 +1,5 @@ +require 'rails_helper' + +RSpec.describe CsvController, type: :controller do + +end diff --git a/spec/helpers/csv_helper_spec.rb b/spec/helpers/csv_helper_spec.rb new file mode 100644 index 0000000..57d15e9 --- /dev/null +++ b/spec/helpers/csv_helper_spec.rb @@ -0,0 +1,15 @@ +require 'rails_helper' + +# Specs in this file have access to a helper object that includes +# the CsvHelper. For example: +# +# describe CsvHelper do +# describe "string concat" do +# it "concats two strings with spaces" do +# expect(helper.concat_strings("this","that")).to eq("this that") +# end +# end +# end +RSpec.describe CsvHelper, type: :helper do + pending "add some examples to (or delete) #{__FILE__}" +end From 925237c980a8c22c4f2aae9b0f4f42d00e82099f Mon Sep 17 00:00:00 2001 From: ViniCarv Date: Fri, 9 Jun 2017 23:23:37 -0300 Subject: [PATCH 3/8] Fixes registry and school_misses --- app/views/alumns/index.xls.erb | 39 ++++++++++++---------------------- 1 file changed, 13 insertions(+), 26 deletions(-) diff --git a/app/views/alumns/index.xls.erb b/app/views/alumns/index.xls.erb index 673bb39..ecc926e 100644 --- a/app/views/alumns/index.xls.erb +++ b/app/views/alumns/index.xls.erb @@ -2,37 +2,24 @@ - - + + - + <% @alumns.each do |alumn| %> - - + + + + - - - - - + <% end %> - - From e1789a1a09ee7c3c90e8d76b2133d4eb35f6c0d3 Mon Sep 17 00:00:00 2001 From: LeonardoRk Date: Sat, 10 Jun 2017 19:39:54 -0300 Subject: [PATCH 4/8] Adds field of strikes and parent on csv --- app/views/alumns/index.xls.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/alumns/index.xls.erb b/app/views/alumns/index.xls.erb index ecc926e..1f34f19 100644 --- a/app/views/alumns/index.xls.erb +++ b/app/views/alumns/index.xls.erb @@ -6,6 +6,8 @@ + + <% @alumns.each do |alumn| %> @@ -21,5 +23,7 @@ <%= subject.name_subject %>
<% end %> + + <% end %> From e73b9038347ea1f0dafb12bae993399b2e2d3ba5 Mon Sep 17 00:00:00 2001 From: ViniCarv Date: Tue, 13 Jun 2017 22:26:16 -0300 Subject: [PATCH 5/8] Creates xls archive importer Signed-off-by: ViniCarv Signed-off-by: guigawiller --- app/controllers/alumns_controller.rb | 5 ++- app/views/alumns/index.html.erb | 8 ++-- app/views/alumns/index.xls.erb | 57 +++++++++++++++++++++++----- 3 files changed, 54 insertions(+), 16 deletions(-) diff --git a/app/controllers/alumns_controller.rb b/app/controllers/alumns_controller.rb index 0aa8ed6..126a7a9 100644 --- a/app/controllers/alumns_controller.rb +++ b/app/controllers/alumns_controller.rb @@ -10,11 +10,12 @@ def index elsif ( is_employee? ) @alumns = Alumn.all @grades = Array.new - respond_to do |format| + @subjects = Subject.all + respond_to do |format| format.html format.csv { send_data @alumns.to_csv } format.xls #{ send_data @alumns.to_csv (col_sep: "\t")} - + end if params[:search] @alumns = Alumn.search(params[:search]).order("created_at DESC") diff --git a/app/views/alumns/index.html.erb b/app/views/alumns/index.html.erb index 7ad5c3f..432c9eb 100644 --- a/app/views/alumns/index.html.erb +++ b/app/views/alumns/index.html.erb @@ -18,14 +18,12 @@ <%= render "layouts/feedback_messages" %> -

- Download: - <%= link_to "CSV", alumns_path(format: "csv") %> | - <%= link_to "Excel", alumns_path(format: "xls") %> -

+ +
+ <%= link_to ' Gerar XLS'.html_safe, alumns_path(format: "xls"),class: 'btn btn-success pull-right' %> <% @alumns.each do |alumn| %>
diff --git a/app/views/alumns/index.xls.erb b/app/views/alumns/index.xls.erb index 1f34f19..ba6ae93 100644 --- a/app/views/alumns/index.xls.erb +++ b/app/views/alumns/index.xls.erb @@ -1,13 +1,28 @@ - +
NomeMatériaNotasMatrículaTurma FaltasMatéria
<%= alumn.name%> - - - <% alumn.classroom.subjects.each do |subject| %> - <%= subject.name_subject %>
- - +
<%= alumn.name%><%= alumn.registry%><%= alumn.classroom.name_classroom%><% alumn.school_misses.each do |miss| %> + <%= miss.date.day %>/<%= miss.date.month %>/<%= miss.date.year %>
+ <% end %> +
<% alumn.classroom.subjects.each do |subject| %> + <%= subject.name_subject %>
<% end %> - -
- - - <% alumn.school_misses.each do |miss| %> - <$= miss.date.day %>/<%= miss.date.month %>/<%= miss.date.year %>
- <% end %> -
Turma Faltas MatériaAdvertênciasResponsável
<%= alumn.quantity_strike %><%= alumn.parent.name %>
- + + <%@subjects.each do |subject|%> + + <%end%> + <%@subjects.each do |subject|%> + + <%end%> + <%@subjects.each do |subject|%> + + <%end%> + <%@subjects.each do |subject|%> + + <%end%> + <%@subjects.each do |subject|%> + + <%end%> <% @alumns.each do |alumn| %> @@ -15,15 +30,39 @@ - - + + <%alumn.classroom.subjects.each do |subject|%> + <%subject.grades.where(alumn_id: alumn.id).each do |grade|%> + + <%end%> + <%end%> + <%alumn.classroom.subjects.each do |subject|%> + <%subject.grades.where(alumn_id: alumn.id).each do |grade|%> + + <%end%> + <%end%> + <%alumn.classroom.subjects.each do |subject|%> + <%subject.grades.where(alumn_id: alumn.id).each do |grade|%> + + <%end%> + <%end%> + <%alumn.classroom.subjects.each do |subject|%> + <%subject.grades.where(alumn_id: alumn.id).each do |grade|%> + + <%end%> + <%end%> + <%alumn.classroom.subjects.each do |subject|%> + <%subject.grades.where(alumn_id: alumn.id).each do |grade|%> + + <%end%> + <%end%> <% end %> + + + + From f5d902bb678b504bfb9f5e0bb88ca9a1762b48de Mon Sep 17 00:00:00 2001 From: ViniCarv Date: Wed, 14 Jun 2017 13:27:32 -0300 Subject: [PATCH 6/8] Fixes report card --- app/views/alumns/report.html.erb | 131 ++++--------------------------- app/views/alumns/show.html.erb | 48 ++++++----- 2 files changed, 45 insertions(+), 134 deletions(-) diff --git a/app/views/alumns/report.html.erb b/app/views/alumns/report.html.erb index 757ea21..996d8f5 100644 --- a/app/views/alumns/report.html.erb +++ b/app/views/alumns/report.html.erb @@ -11,134 +11,35 @@ Matéria - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + <%@alumn.subjects.each do |subject|%> + + <%subject.grades.where(alumn_id: @alumn.id).each do |grade|%> + + + + + + <%end%> + + <%end%>
Nome Matrícula Turma FaltasMatéria AdvertênciasSuspensões Responsável<%=subject.name_subject%> 1°B<%=subject.name_subject%> 2°B<%=subject.name_subject%> 3°B<%=subject.name_subject%> 4°B<%=subject.name_subject%> Final
<%= alumn.name%> <%= alumn.registry%> <%= alumn.classroom.name_classroom%><% alumn.school_misses.each do |miss| %> - <%= miss.date.day %>/<%= miss.date.month %>/<%= miss.date.year %>
- <% end %> -
<% alumn.classroom.subjects.each do |subject| %> - <%= subject.name_subject %>
- <% end %> +
<%= alumn.school_misses.count %> <%= alumn.quantity_strike %><%= alumn.suspensions.count %> <%= alumn.parent.name %><%=grade.grade_01%><%=grade.grade_02%><%=grade.grade_03%><%=grade.grade_04%><%=grade.grade_final%>
Data<%=DateTime.now.to_date%>
- 1º Tri + 1º Bi - 2º Tri + 2º Bi - 3º Tri + 3º Bi - 4º Tri + 4º Bi Nota Final - Status -
Português86547APROVADO
Matemática86547APROVADO
Geografia86544REPROVADO
Português86547APROVADO
Matemática86547APROVADO
Geografia86544REPROVADO
Português86547APROVADO
Matemática86547APROVADO
Geografia86544REPROVADO
Português86547APROVADO
Matemática86547APROVADO
Geografia86544REPROVADO
<%=subject.name_subject%><%=grade.grade_01%><%=grade.grade_02%><%=grade.grade_03%><%=grade.grade_04%><%=grade.grade_final%>
diff --git a/app/views/alumns/show.html.erb b/app/views/alumns/show.html.erb index 48b25ad..f114f29 100644 --- a/app/views/alumns/show.html.erb +++ b/app/views/alumns/show.html.erb @@ -78,10 +78,10 @@

    Primeiro Bimestre

    - <% @alumn.classroom.subjects.each do |subjects| %> -
  • <%= subjects.name_subject%> - <% subjects.grades.each do |grades| %> - <%= grades.grade_01%>
  • + <% @alumn.classroom.subjects.each do |subject| %> +
  • <%= subject.name_subject%> + <% subject.grades.where(alumn_id: @alumn.id).each do |grade| %> + <%= grade.grade_01%>
  • <%end%> <%end%>
@@ -90,11 +90,10 @@

    Segundo Bimestre

    - <% @alumn.classroom.subjects.each do |subjects| %> -
  • <%= subjects.name_subject%> - - <% subjects.grades.each do |grades| %> - <%= grades.grade_02%>
  • + <% @alumn.classroom.subjects.each do |subject| %> +
  • <%= subject.name_subject%> + <% subject.grades.where(alumn_id: @alumn.id).each do |grade| %> + <%= grade.grade_02%>
  • <%end%> <%end%>
@@ -103,11 +102,10 @@

    Terceiro Bimestre

    - <% @alumn.classroom.subjects.each do |subjects| %> -
  • <%= subjects.name_subject%> - - <% subjects.grades.each do |grades| %> - <%= grades.grade_03%>
  • + <% @alumn.classroom.subjects.each do |subject| %> +
  • <%= subject.name_subject%> + <% subject.grades.where(alumn_id: @alumn.id).each do |grade| %> + <%= grade.grade_03%>
  • <%end%> <%end%>
@@ -116,15 +114,27 @@

    Quarto Bimestre

    - <% @alumn.classroom.subjects.each do |subjects| %> -
  • <%= subjects.name_subject%> - - <% subjects.grades.each do |grades| %> - <%= grades.grade_04%>
  • + <% @alumn.classroom.subjects.each do |subject| %> +
  • <%= subject.name_subject%> + <% subject.grades.where(alumn_id: @alumn.id).each do |grade| %> + <%= grade.grade_04%>
  • <%end%> <%end%>
+ +
+
    +

    Nota Final

    + <% @alumn.classroom.subjects.each do |subject| %> +
  • <%= subject.name_subject%> + <% subject.grades.where(alumn_id: @alumn.id).each do |grade| %> + <%= grade.grade_final%>
  • + <%end%> + <%end%> +
+
+
From 3a433899bb5cc3b71274fe061eb7a7950613034e Mon Sep 17 00:00:00 2001 From: ViniCarv Date: Fri, 16 Jun 2017 13:24:16 -0300 Subject: [PATCH 7/8] Remove unused code --- app/controllers/alumns_controller.rb | 1 - app/controllers/csv_controller.rb | 13 ------------- app/models/alumn.rb | 9 --------- app/views/alumns/index.html.erb | 2 ++ 4 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 app/controllers/csv_controller.rb diff --git a/app/controllers/alumns_controller.rb b/app/controllers/alumns_controller.rb index 126a7a9..cc4032b 100644 --- a/app/controllers/alumns_controller.rb +++ b/app/controllers/alumns_controller.rb @@ -13,7 +13,6 @@ def index @subjects = Subject.all respond_to do |format| format.html - format.csv { send_data @alumns.to_csv } format.xls #{ send_data @alumns.to_csv (col_sep: "\t")} end diff --git a/app/controllers/csv_controller.rb b/app/controllers/csv_controller.rb deleted file mode 100644 index 6917cb7..0000000 --- a/app/controllers/csv_controller.rb +++ /dev/null @@ -1,13 +0,0 @@ -class CsvController < ApplicationController - - - def index - @report = Product.order(:subject) - respond_to do |format| - format.html - format.csv { send_data @report.to_csv } - end - end - - -end diff --git a/app/models/alumn.rb b/app/models/alumn.rb index 445e0ac..4995a7f 100644 --- a/app/models/alumn.rb +++ b/app/models/alumn.rb @@ -76,15 +76,6 @@ def self.current @current_alumn end - def self.to_csv - attributes = %w{name registry quantity_strike} - CSV.generate do |csv| - csv << attributes - all.each do |alumn| - csv << alumn.attributes.values_at(*attributes) - end - end - end private def validates_password diff --git a/app/views/alumns/index.html.erb b/app/views/alumns/index.html.erb index 432c9eb..3fee291 100644 --- a/app/views/alumns/index.html.erb +++ b/app/views/alumns/index.html.erb @@ -23,7 +23,9 @@
+ <%if is_principal? or is_secretary? %> <%= link_to ' Gerar XLS'.html_safe, alumns_path(format: "xls"),class: 'btn btn-success pull-right' %> + <% end %> <% @alumns.each do |alumn| %>
From 0a462a884b04796f71c10f82cb51f27e3ee28578 Mon Sep 17 00:00:00 2001 From: ViniCarv Date: Fri, 16 Jun 2017 13:29:57 -0300 Subject: [PATCH 8/8] Remove unused code --- spec/controllers/csv_controller_spec.rb | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 spec/controllers/csv_controller_spec.rb diff --git a/spec/controllers/csv_controller_spec.rb b/spec/controllers/csv_controller_spec.rb deleted file mode 100644 index ab6cd51..0000000 --- a/spec/controllers/csv_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require 'rails_helper' - -RSpec.describe CsvController, type: :controller do - -end