mirror of
https://gitea.invidious.io/iv-org/shard-radix.git
synced 2024-08-15 00:43:21 +00:00
spec(VERSION): format naming for better verbose output
Avoid `Radix::VERSION` being evaluated and use the string version for presentation purposes.
This commit is contained in:
parent
07f7576895
commit
a6984844bd
2 changed files with 7 additions and 8 deletions
|
@ -7,6 +7,7 @@ so please check *Changed* and *Removed* notes before upgrading.
|
|||
## [Unreleased]
|
||||
### Fixed
|
||||
- Do not force adding paths with shared named parameter in an specific order (@jwoertink)
|
||||
- Give proper name to `Radix::VERSION` spec when running in verbose mode.
|
||||
|
||||
## [0.3.1] - 2016-07-29
|
||||
### Added
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
require "../spec_helper"
|
||||
require "yaml"
|
||||
|
||||
module Radix
|
||||
describe VERSION do
|
||||
it "matches version defined in shard.yml" do
|
||||
contents = File.read(File.expand_path("../../../shard.yml", __FILE__))
|
||||
meta = YAML.parse(contents)
|
||||
describe "Radix::VERSION" do
|
||||
it "matches version defined in shard.yml" do
|
||||
contents = File.read(File.expand_path("../../../shard.yml", __FILE__))
|
||||
meta = YAML.parse(contents)
|
||||
|
||||
meta["version"]?.should_not be_falsey
|
||||
Radix::VERSION.should eq(meta["version"].as_s)
|
||||
end
|
||||
meta["version"]?.should_not be_falsey
|
||||
Radix::VERSION.should eq(meta["version"].as_s)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue