Skip to content

Commit

Permalink
fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
galori committed Jan 26, 2025
1 parent e385979 commit 100b960
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/annotate_rb/model_annotator/model_wrapper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def ignored_translation_table_columns
:created_at,
:updated_at,
:locale,
@klass.name.foreign_key.to_sym,
@klass.name.foreign_key.to_sym
]
end
end
Expand Down
1 change: 1 addition & 0 deletions spec/dummyapp/.rbenv-gemsets
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dummyapp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
let :klass do
mock_class(:posts, primary_key, columns, indexes, foreign_keys).tap do |mock_klass|
allow(mock_klass).to receive(:translation_class).and_return(translation_klass)
allow(mock_klass).to receive(:name).and_return(double("name", foreign_key: double('foreign_key', to_sym: :post_id)))
allow(mock_klass).to receive(:name).and_return(double("name", foreign_key: double("foreign_key", to_sym: :post_id)))
end
end

Expand Down

0 comments on commit 100b960

Please sign in to comment.