Skip to content

Commit

Permalink
chore: apply linting nits
Browse files Browse the repository at this point in the history
  • Loading branch information
pbernays committed Jan 22, 2025
1 parent e53b203 commit 7e0c686
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
is_expected.to eq expected_result
end

context 'when default timestamps are included' do
context "when default timestamps are included" do
let(:columns) do
[
mock_column("parent_id", :integer),
Expand All @@ -194,7 +194,7 @@
]
end

it 'sorts default timestamps second last before associations' do
it "sorts default timestamps second last before associations" do
is_expected.to eq <<~EOS
# == Schema Information
#
Expand All @@ -210,15 +210,15 @@
EOS
end

context 'when timestamps_column option is set' do
context "when timestamps_column option is set" do
let(:options) do
AnnotateRb::Options.new(
classified_sort: true,
timestamp_columns: %w[created_at updated_at deleted_at]
)
end

it 'sorts configured timestamps into config order' do
it "sorts configured timestamps into config order" do
is_expected.to eq <<~EOS
# == Schema Information
#
Expand Down

0 comments on commit 7e0c686

Please sign in to comment.