Skip to content

Commit

Permalink
Fix rails 8
Browse files Browse the repository at this point in the history
  • Loading branch information
hunchr committed Nov 6, 2024
1 parent f7b0935 commit 5731a1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/dummy/spec/hotsheet/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe "Hotsheet::Configuration" do
let(:config) do
Hotsheet.configure do |config|
config.model :User do |model|
config.model :Author do |model|
model.included_attributes = %i[name birthdate]
model.excluded_attributes = %i[created_at]
end
Expand All @@ -21,7 +21,7 @@
it "doesn't have any other model configs" do # rubocop:disable RSpec/ExampleLength
expect do
Hotsheet.configure do |config|
config.model :User do |model|
config.model :Author do |model|
model.attributes = %i[name birthdate]
end
end
Expand Down

0 comments on commit 5731a1e

Please sign in to comment.