From 2653aa5e2654f94c49271b5bc2dced2fa15e23ee Mon Sep 17 00:00:00 2001 From: Felipe Freitag Vargas Date: Fri, 3 Jul 2020 09:22:33 -0300 Subject: [PATCH] Fix linter --- spec/todos/notes/notes_spec.rb | 3 +-- todos/db/migrate/20200626135719_create_notes.rb | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/todos/notes/notes_spec.rb b/spec/todos/notes/notes_spec.rb index 961a36e..bfe656a 100644 --- a/spec/todos/notes/notes_spec.rb +++ b/spec/todos/notes/notes_spec.rb @@ -1,4 +1,3 @@ - # frozen_string_literal: true require 'rails_helper' @@ -7,4 +6,4 @@ it { is_expected.to belong_to(:assignment).optional } it { is_expected.to belong_to(:list) } it { is_expected.to validate_presence_of(:text) } -end \ No newline at end of file +end diff --git a/todos/db/migrate/20200626135719_create_notes.rb b/todos/db/migrate/20200626135719_create_notes.rb index 3a87753..671561d 100644 --- a/todos/db/migrate/20200626135719_create_notes.rb +++ b/todos/db/migrate/20200626135719_create_notes.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + class CreateNotes < ActiveRecord::Migration[5.2] def change create_table :notes do |t|