diff --git a/examples/trimming_input_video.rb b/examples/trimming_input_video.rb index b0a91c6..e6a4dfa 100644 --- a/examples/trimming_input_video.rb +++ b/examples/trimming_input_video.rb @@ -101,7 +101,7 @@ mp4_muxing.streams << audio_stream.id mp4_muxing.save! -# Start the encoding proccess +# Start the encoding process enc.start! # Monitor the encoding finish diff --git a/lib/bitmovin/encoding/inputs/aspera_input.rb b/lib/bitmovin/encoding/inputs/aspera_input.rb index 115e8a0..2aaddac 100644 --- a/lib/bitmovin/encoding/inputs/aspera_input.rb +++ b/lib/bitmovin/encoding/inputs/aspera_input.rb @@ -2,6 +2,6 @@ module Bitmovin::Encoding::Inputs class AsperaInput < Bitmovin::Resource init 'encoding/inputs/aspera' attr_accessor :id, :created_at, :modified_at, :name, :description - attr_accessor :host, :username, :password, :min_bandwith, :max_bandwith + attr_accessor :host, :username, :password, :min_bandwidth, :max_bandwidth end end diff --git a/spec/bitmovin/bitmovin_spec.rb b/spec/bitmovin/bitmovin_spec.rb index dfb558b..312ad76 100644 --- a/spec/bitmovin/bitmovin_spec.rb +++ b/spec/bitmovin/bitmovin_spec.rb @@ -18,7 +18,7 @@ expect(Bitmovin::Client).to receive(:new).with({ api_key: 'foo', organisation_id: nil }) Bitmovin.init('foo') end - it "should set corrrect API key and organisation id on client" do + it "should set correct API key and organisation id on client" do expect(Bitmovin::Client).to receive(:new).with({api_key: 'foo', organisation_id: 'bar'}) Bitmovin.init('foo', 'bar') end diff --git a/spec/bitmovin/encoding/encodings/stream_spec.rb b/spec/bitmovin/encoding/encodings/stream_spec.rb index bf42985..548ecee 100644 --- a/spec/bitmovin/encoding/encodings/stream_spec.rb +++ b/spec/bitmovin/encoding/encodings/stream_spec.rb @@ -61,7 +61,7 @@ it { is_expected.to have_attributes(create_quality_meta_data: true) } it { is_expected.to have_attributes(id: "a6336204-c929-4a61-b7a0-2cd6665114e9") } it { is_expected.to have_attributes(codec_configuration: "d09c1a8a-4c56-4392-94d8-81712118aae0") } - it "should initialze outputs" do + it "should initialize outputs" do expect(subject).to have_exactly(1).outputs expect(subject.outputs).to include(have_attributes(output_id: "55354be6-0237-42bb-ae85-a2d4ef1ed19e")) end diff --git a/spec/bitmovin/encoding/inputs/aspera_input_spec.rb b/spec/bitmovin/encoding/inputs/aspera_input_spec.rb index 9bc5919..8d73331 100644 --- a/spec/bitmovin/encoding/inputs/aspera_input_spec.rb +++ b/spec/bitmovin/encoding/inputs/aspera_input_spec.rb @@ -8,8 +8,8 @@ host: '127.0.0.1', username: 'root', password: 'secret', - minBandwith: '100m', - maxBandwith: '100k' + minBandwidth: '100m', + maxBandwidth: '100k' }) list_response = response_envelope({ items: [detail]