Skip to content

Commit 8d87b94

Browse files
rsmithlalCopilot
andauthored
Update spec/models/better_together/event_spec.rb
Adjust assertion syntax Co-authored-by: Copilot <[email protected]> Signed-off-by: Robert Smith <[email protected]>
1 parent 271a615 commit 8d87b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/models/better_together/event_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module BetterTogether
1111
end
1212

1313
it 'will default its host to its creator' do
14-
expect(event.event_hosts.map(&:host).include?(event.creator))
14+
expect(event.event_hosts.map(&:host)).to include(event.creator)
1515
end
1616

1717
it 'requires ends_at to be after starts_at' do # rubocop:todo RSpec/MultipleExpectations

0 commit comments

Comments
 (0)