Sha256: f46b95d593697243d8e8d8ba254163c1572a7dbb83a58bf6148ec11d6db24e47

Contents?: true

Size: 511 Bytes

Versions: 15

Compression:

Stored size: 511 Bytes

Contents

describe Elasticity::HadoopBootstrapAction do

  subject do
    Elasticity::HadoopBootstrapAction.new('option', 'value')
  end

  it { should be_a Elasticity::BootstrapAction }

  describe '.initialize' do
    it 'should set the fields appropriately' do
      expect(subject.name).to eql('Elasticity Bootstrap Action (Configure Hadoop)')
      expect(subject.arguments).to eql(%w(option value))
      expect(subject.script).to eql('s3n://elasticmapreduce/bootstrap-actions/configure-hadoop')
    end
  end


end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
elasticity-6.0.14 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.13 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.12 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.11 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.10 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.9 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.8 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.7 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.6 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.5 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.4 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.3 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.2 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0.1 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb
elasticity-6.0 spec/lib/elasticity/hadoop_bootstrap_action_spec.rb