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.57.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.56.0 vendor/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb