Sha256: 4c96e6a27b62daa3e5ec625a6423a759455a9e537c586c1f1e9b7f53da829943
Contents?: true
Size: 569 Bytes
Versions: 11
Compression:
Stored size: 569 Bytes
Contents
require 'test_helper' require 'gem-wrappers/specification' require 'gem-wrappers/version' describe GemWrappers::Specification do before do GemWrappers::Specification.instance_variable_set(:@gem_wrappers_spec, nil) end it "finds specification" do GemWrappers::Specification.find.name.must_equal("gem-wrappers") end it "gets specification version" do GemWrappers::Specification.version.must_equal(GemWrappers::VERSION) end it "does not find imaginary gems" do GemWrappers::Specification.find("imaginary-gem").must_equal(nil) end end
Version data entries
11 entries across 11 versions & 1 rubygems