Sha256: 8d57f7403dacdd056cc33d03bb93de105da207489c620629f729064a80a9a998

Contents?: true

Size: 427 Bytes

Versions: 12

Compression:

Stored size: 427 Bytes

Contents

describe Elasticity::ScriptStep do

  it { should be_a Elasticity::CustomJarStep }

  subject { Elasticity::ScriptStep.new('script_location', 'arg1', 'arg2') }

  its(:name) { should == 'Elasticity Script Step' }
  its(:jar) { should == 's3://elasticmapreduce/libs/script-runner/script-runner.jar' }
  its(:arguments) { should == %w(script_location arg1 arg2) }
  its(:action_on_failure) { should == 'TERMINATE_JOB_FLOW' }

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
elasticity-5.0.3 spec/lib/elasticity/script_step_spec.rb
elasticity-5.0.2 spec/lib/elasticity/script_step_spec.rb
elasticity-5.0.1 spec/lib/elasticity/script_step_spec.rb
elasticity-4.0.5 spec/lib/elasticity/script_step_spec.rb
elasticity-5.0 spec/lib/elasticity/script_step_spec.rb
elasticity-4.0.4 spec/lib/elasticity/script_step_spec.rb
elasticity-4.0.3 spec/lib/elasticity/script_step_spec.rb
elasticity-4.0.2 spec/lib/elasticity/script_step_spec.rb
elasticity-4.0.1 spec/lib/elasticity/script_step_spec.rb
elasticity-4.0 spec/lib/elasticity/script_step_spec.rb
elasticity-3.0.4 spec/lib/elasticity/script_step_spec.rb
elasticity-3.0.3 spec/lib/elasticity/script_step_spec.rb