Skip to content

Commit 0001225

Browse files
committed
Change to use expect syntax
1 parent d6a0e04 commit 0001225

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

spec/github/client/repos/invitations/delete_spec.rb

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

3333
it "should delete the resource" do
3434
subject.delete user, repo, invitation_id
35-
a_delete(request_path).should have_been_made
35+
expect(a_delete(request_path)).to have_been_made
3636
end
3737
end
3838

spec/github/client/repos/invitations/list_spec.rb

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

2929
it "should get the resources" do
3030
subject.list user, repo
31-
a_get(request_path).should have_been_made
31+
expect(a_get(request_path)).to have_been_made
3232
end
3333

3434
it "should get invitations information" do

0 commit comments

Comments
 (0)