Skip to content

Commit

Permalink
rake standard:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
causztic committed Aug 23, 2024
1 parent 9af3754 commit a757499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/integration/composite_primary_key_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require "spec_helper"

describe "composite_primary_key" do
context 'without associations' do
context "without associations" do
with_model :Parent do
table primary_key: [:first_name, :last_name] do |t|
t.string :first_name
Expand Down Expand Up @@ -40,7 +40,7 @@
self.primary_key = [:first_name, :last_name]
end
end

with_model :Child do
table do |t|
t.string :parent_first_name
Expand All @@ -53,7 +53,7 @@

pg_search_scope :search_parent_hobby, associated_against: {
parent: [:hobby]
}
}
end
end

Expand Down

0 comments on commit a757499

Please sign in to comment.