Skip to content

Commit 70af50a

Browse files
author
Nicolas Leger
committed
[Test] Fix use of ref
1 parent 6abbc58 commit 70af50a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/github/client/git_data/references/get_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
let(:ref) { 'branch' }
3030

3131
it "should fail to get resource with wrong ref" do
32-
expect { subject.get user, repo, '/branch' }.not_to raise_error()
32+
expect { subject.get user, repo, ref }.not_to raise_error()
3333
end
3434
end
3535

0 commit comments

Comments
 (0)