spec/version/version_spec.rb in doorkeeper-sequel-1.5.0 vs spec/version/version_spec.rb in doorkeeper-sequel-2.0.0

- old
+ new

@@ -1,15 +1,15 @@ -require 'spec_helper_integration' +require 'spec_helper' -describe 'Doorkeeper version' do +describe Doorkeeper::VERSION do context '#gem_version' do it 'returns Gem::Version instance' do expect(Doorkeeper.gem_version).to be_an_instance_of(Gem::Version) end end context 'VERSION' do it 'returns gem version string' do - expect(Doorkeeper::VERSION::STRING).to match(/^\d+\.\d+\.\d+[.\w]?$/) + expect(Doorkeeper::VERSION::STRING).to match(/^\d+\.\d+\.\d+(\.\w+)?$/) end end end