Sha256: 2d3822f76c1636602ce6737029a72d1d8d52bc7454b4cfaea38a1b2fbe9280b0
Contents?: true
Size: 854 Bytes
Versions: 27
Compression:
Stored size: 854 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(Expressir::VERSION) # Validate Object Space GC.start GC.verify_compaction_references GC.verify_internal_consistency end end end
Version data entries
27 entries across 27 versions & 1 rubygems