Sha256: 34911075966226ca51769748e6bf3ac7ca67f41188843348e9af10ea884e03ad
Contents?: true
Size: 780 Bytes
Versions: 25
Compression:
Stored size: 780 Bytes
Contents
require "spec_helper" describe "bundle gem" do before :each do bundle 'gem test-gem' end it "generates a gem skeleton" do bundled_app("test-gem/test-gem.gemspec").should exist bundled_app("test-gem/Gemfile").should exist bundled_app("test-gem/Rakefile").should exist bundled_app("test-gem/lib/test-gem.rb").should exist bundled_app("test-gem/lib/test-gem/version.rb").should exist end it "starts with version 0.0.1" do bundled_app("test-gem/lib/test-gem/version.rb").read.should =~ /VERSION = "0.0.1"/ end it "nests constants so they work" do bundled_app("test-gem/lib/test-gem/version.rb").read.should =~ /module Test\n module Gem/ bundled_app("test-gem/lib/test-gem.rb").read.should =~ /module Test\n module Gem/ end end
Version data entries
25 entries across 25 versions & 4 rubygems