diff --git a/spec/ruby-units/unit_spec.rb b/spec/ruby-units/unit_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/ruby-units/unit_spec.rb
+++ b/spec/ruby-units/unit_spec.rb
@@ -817,7 +817,7 @@ describe "Create some simple units" do
 
   # rational scalar with numeric modified unit
   describe Unit.new('12.0mg/6.0mL') do
-    it { should be_an_instance_of Unit }
+    it { is_expected.to be_an_instance_of Unit }
 
     describe '#scalar' do
       subject { super().scalar }
Convert specs to RSpec <I> syntax with Transpec

This conversion is done by Transpec <I> with the following command:
    transpec

* 1 conversion
    from: it { should ... }
      to: it { is_expected.to ... }

For more details: <URL>