spec/qfill_spec.rb in qfill-0.0.4 vs spec/qfill_spec.rb in qfill-0.1.0

- old
+ new

@@ -1,11 +1,12 @@ +# frozen_string_literal: true + require 'spec_helper' describe Qfill do - it "should have string version" do - Qfill::VERSION.should be_a(String) + it 'has string version' do + expect(Qfill::VERSION).to be_a(String) end - it "should have major, minor & patch version levels" do - Qfill::VERSION.should =~ /\d+\.\d+\.\d+/ + it 'has major, minor & patch version levels' do + expect(Qfill::VERSION).to match(/\d+\.\d+\.\d+/) end - end