Skip to content

Commit 11eae3d

Browse files
committed
Cleanup
1 parent 1407358 commit 11eae3d

3 files changed

Lines changed: 0 additions & 19 deletions

File tree

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
name,email,default_storage_location,send_reminders,quota,notes
22
Partner 51,partner51@example.com,,false,50,"great partner"
3-

spec/fixtures/files/partners_with_final_line_blank.csv

Lines changed: 0 additions & 3 deletions
This file was deleted.

spec/requests/partners_requests_spec.rb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -651,21 +651,6 @@
651651
expect(response).to have_notice "#{model_class.name.underscore.humanize.pluralize} were imported successfully!"
652652
end
653653
end
654-
655-
context "csv file with a blank line at the file's bottom" do
656-
let(:file) { fixture_file_upload("partners_with_final_line_blank.csv", "text/csv") }
657-
subject { post import_csv_partners_path, params: { file: file } }
658-
659-
it "redirects to :index" do
660-
subject
661-
expect(response).to be_redirect
662-
end
663-
664-
it "presents a flash notice message" do
665-
subject
666-
expect(response).to have_notice "#{model_class.name.underscore.humanize.pluralize} were imported successfully!"
667-
end
668-
end
669654
end
670655

671656
describe "POST #create" do

0 commit comments

Comments
 (0)