diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-08-14 15:02:29 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-08-15 16:04:16 -0500 |
commit | b9d086e9dbcbd238426b10069d621c5af0f87ac8 (patch) | |
tree | 9e5bfb46b4f99e8c92f78bf5257212a4b8de95ea /spec/httpunix_spec.rb | |
parent | 268d23de46525cc18b805f09bf3eb3a1aa6aa8b8 (diff) | |
download | gitlab-shell-b9d086e9dbcbd238426b10069d621c5af0f87ac8.tar.gz |
Remove usages of `its` in specs
Diffstat (limited to 'spec/httpunix_spec.rb')
-rw-r--r-- | spec/httpunix_spec.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/spec/httpunix_spec.rb b/spec/httpunix_spec.rb index 0a8eb06..719a855 100644 --- a/spec/httpunix_spec.rb +++ b/spec/httpunix_spec.rb @@ -7,9 +7,12 @@ describe URI::HTTPUNIX do subject { uri } it { is_expected.to be_an_instance_of(URI::HTTPUNIX) } - its(:scheme) { should eq('http+unix') } - its(:hostname) { should eq('/path/to/socket') } - its(:path) { should eq('/img.jpg') } + + it 'has the correct attributes' do + expect(subject.scheme).to eq('http+unix') + expect(subject.hostname).to eq('/path/to/socket') + expect(subject.path).to eq('/img.jpg') + end end end |