From 668f7fb8d8fa105638155973b73606aca16e3dc4 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 24 Nov 2019 15:44:32 +0100 Subject: add RSpec --- spec/coderay_spec.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spec/coderay_spec.rb (limited to 'spec/coderay_spec.rb') diff --git a/spec/coderay_spec.rb b/spec/coderay_spec.rb new file mode 100644 index 0000000..85e6660 --- /dev/null +++ b/spec/coderay_spec.rb @@ -0,0 +1,7 @@ +RSpec.describe CodeRay do + describe 'version' do + it "returns the Gem's version" do + expect(CodeRay::VERSION).to match(/\A\d\.\d\.\d?\z/) + end + end +end -- cgit v1.2.1