Sha256: 96b2341992579d8dda26b05336f903c2b6e2785e4b3c184bdc6c17424e1c5d9b
Contents?: true
Size: 867 Bytes
Versions: 23
Compression:
Stored size: 867 Bytes
Contents
require "spec_helper" RSpec.describe "Expressir" do describe "version" do it "has a version number" do |example| GC.stress = ENV["GC_STRESS"] == "true" puts "Running tests in GC stress mode. It may take a couple of hours ..." if GC.stress print "\n[#{example.description}] " expect(Expressir::VERSION).not_to be nil # Validate Object Space GC.start GC.verify_compaction_references GC.verify_internal_consistency end it "displays the current verison" do |example| print "\n[#{example.description}] " command = %w(version) output = capture_stdout { Expressir::Cli.start(command) } expect(output).to include("Version #{Expressir::VERSION}") # Validate Object Space GC.start GC.verify_compaction_references GC.verify_internal_consistency end end end
Version data entries
23 entries across 23 versions & 1 rubygems