Skip to content

Commit 0e5b15e

Browse files
committed
Corrects method name
1 parent 9749e26 commit 0e5b15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/bitly/api/group_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@
218218

219219
it "can get QR codes" do
220220
qrcode_mock = instance_double(Bitly::API::Qrcode)
221-
expect(Bitly::API::Qrcode).to receive(:list)
221+
expect(Bitly::API::Qrcode).to receive(:list_by_group)
222222
.with(client: client, group_guid: group.guid)
223223
.and_return(qrcode_mock)
224224
qrcodes = group.qrcodes

0 commit comments

Comments
 (0)