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.120.0 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.119.0 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.118.0 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.117.3 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.117.2 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.117.1 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.117.0 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.116.2 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
eac_ruby_gems_utils-0.9.10 spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.116.1 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.116.0 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.115.0 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.114.2 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.114.1 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.114.0 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.113.6 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.113.5 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.113.4 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
avm-tools-0.113.3 sub/eac_ruby_gems_utils/spec/lib/eac_ruby_gems_utils/gem_spec.rb
eac_ruby_gems_utils-0.9.9 spec/lib/eac_ruby_gems_utils/gem_spec.rb