Sha256: a9794e9a51e5ebfc8938278f1bf86de00b03db87b13abd39387f827c9becbfdf

Contents?: true

Size: 447 Bytes

Versions: 2

Compression:

Stored size: 447 Bytes

Contents

require 'spec_helper'

describe RokuPackager::GenkeyOutput do
  before do
    class Genkey
      extend RokuPackager::GenkeyOutput
    end

    @output =<<EOF
.
.
.
.
+
+
+
Password: jO3nThMQZxaAMSH2a1mIiw==
DevID: 65b331d470432d609fec8c5f78e09683559e56b9
>
EOF
  end

  it 'parses out devid and password' do
    Genkey.parse(@output).must_equal [
      '65b331d470432d609fec8c5f78e09683559e56b9',
      'jO3nThMQZxaAMSH2a1mIiw=='
    ]
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roku-packager-0.0.3 spec/roku-packager/genkey_output_spec.rb
roku-packager-0.0.1 spec/roku-packager/genkey_output_spec.rb