diff --git a/lib/version.rb b/lib/version.rb index de6e2759..13de7285 100644 --- a/lib/version.rb +++ b/lib/version.rb @@ -45,4 +45,4 @@ module Retrospring [to_a.join("."), suffix].join end end -end \ No newline at end of file +end diff --git a/spec/lib/version_spec.rb b/spec/lib/version_spec.rb index 8d94b627..e53e917f 100644 --- a/spec/lib/version_spec.rb +++ b/spec/lib/version_spec.rb @@ -30,7 +30,7 @@ RSpec.describe Retrospring::Version do describe "#to_a" do it "should return the correct version as array" do - expect(Retrospring::Version.to_a).to eq(["1984", "0101", "0"]) + expect(Retrospring::Version.to_a).to eq(%w[1984 0101 0]) end end end