diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 15:44:32 +0100 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2019-11-24 15:44:32 +0100 |
commit | 668f7fb8d8fa105638155973b73606aca16e3dc4 (patch) | |
tree | d14ea4bbc10a3c42d64c4fa56892181dff91d43e /spec/coderay_spec.rb | |
parent | 3dbf995d6d09430a0d3ae9f24b38d7bd7314574e (diff) | |
download | coderay-668f7fb8d8fa105638155973b73606aca16e3dc4.tar.gz |
add RSpec
Diffstat (limited to 'spec/coderay_spec.rb')
-rw-r--r-- | spec/coderay_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
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 |