Skip to content

Commit 66aa59d

Browse files
#search のテストでキーを文字列からシンボルに変更
1 parent da73e01 commit 66aa59d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/lib/event_service/providers/doorkeeper_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
it do
1111
expect(subject).to be_instance_of(Array)
1212
expect(subject.size).to eq 1
13-
expect(subject.first['event']['id']).to eq 1234
14-
expect(subject.first['event']['group']).to eq 5555
13+
expect(subject.first[:event][:id]).to eq 1234
14+
expect(subject.first[:event][:group]).to eq 5555
1515
end
1616
end
1717

0 commit comments

Comments
 (0)