Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
felipefreitag committed Jul 3, 2020
1 parent 91838e4 commit 2653aa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions spec/todos/notes/notes_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# frozen_string_literal: true

require 'rails_helper'
Expand All @@ -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
end
2 changes: 2 additions & 0 deletions todos/db/migrate/20200626135719_create_notes.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

class CreateNotes < ActiveRecord::Migration[5.2]
def change
create_table :notes do |t|
Expand Down

0 comments on commit 2653aa5

Please sign in to comment.