File tree Expand file tree Collapse file tree
spec/github/client/git_data/references Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22language : ruby
33sudo : false
44cache : bundler
5- before_install : " gem update bundler"
65script : " bundle exec rake ci"
76rvm :
87 - 2.0.0
98 - 2.1.10
10- - 2.2.8
11- - 2.3.5
12- - 2.4.2
9+ - 2.2.9
10+ - 2.3.6
11+ - 2.4.3
12+ - 2.5.0
1313 - ruby-head
1414 - jruby-9000
1515 - jruby-head
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 4949 end
5050 end
5151
52- context 'with valid renference and refs' do
52+ context 'with valid reference and refs' do
5353 let ( :ref ) { 'refs/heads/lleger-refactor' }
5454
5555 it "should pass with valid reference" do
5656 expect { subject . list ( user , repo , :ref => ref ) } . to_not raise_error ( )
5757 end
5858 end
5959
60- context 'with valid renference and refs with leading slash' do
60+ context 'with valid reference and refs with leading slash' do
6161 let ( :ref ) { '/refs/heads/lleger-refactor' }
6262
6363 it "should pass with valid reference" do
You can’t perform that action at this time.
0 commit comments