Sha256: e7472e30c8eeb6a8374941b57a897b30f7c9891adb0ded5b4dd5cd1438130b58
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 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_be_nil end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gem-wrappers-1.4.0 | test/gem-wrappers/specification_and_version_test.rb |
gem-wrappers-1.3.2 | test/gem-wrappers/specification_and_version_test.rb |