Sha256: 19dce42258f31a57c5e59e575bd4c23013bcf328ef6a75e5eb89da4007661063

Contents?: true

Size: 516 Bytes

Versions: 122

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_gems_utils/gem'

::RSpec.describe ::EacRubyGemsUtils::Gem do
  let(:mygem_path) { ::Pathname.new(__dir__).expand_path.parent.parent.join('support', 'mygem') }
  let(:mygem) { described_class.new(mygem_path) }

  describe '#bundle' do
    specify do
      expect(mygem.bundle('exec', 'myrunner').execute!).to include('My Runner')
    end
  end

  describe '#rake' do
    specify do
      expect(mygem.rake('mygem:stub').execute!).to include('Stub!')
    end
  end
end

Version data entries

122 entries across 122 versions & 3 rubygems

Version Path
avm-tools-0.102.1 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
eac_ruby_gems_utils-0.9.4 spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.102.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.101.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.100.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.99.1 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
eac_ruby_gems_utils-0.9.3 spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.99.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.98.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
eac_ruby_gems_utils-0.9.2 spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.97.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.96.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
eac_ruby_gems_utils-0.9.1 spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.95.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.94.3 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
eac_ruby_gems_utils-0.9.0 spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.94.2 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.94.1 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.94.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.93.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb