diff options
Diffstat (limited to 'spec/httpunix_spec.rb')
-rw-r--r-- | spec/httpunix_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/httpunix_spec.rb b/spec/httpunix_spec.rb index b49bc0a..0a8eb06 100644 --- a/spec/httpunix_spec.rb +++ b/spec/httpunix_spec.rb @@ -6,7 +6,7 @@ describe URI::HTTPUNIX do uri = URI::parse('http+unix://%2Fpath%2Fto%2Fsocket/img.jpg') subject { uri } - it { should be_an_instance_of(URI::HTTPUNIX) } + 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') } |