Sha256: 63467ea00ecf85f1e11fd00795e7d14790a926153414edea165296b32ead9954

Contents?: true

Size: 229 Bytes

Versions: 4

Compression:

Stored size: 229 Bytes

Contents

require "oauth/oauth"
require 'rspec'

describe OAuth do
  before(:all) do
    @oauth = OAuth.new
  end

  after(:all) do
    @oauth.stop
  end

  it 'should return a token' do
    expect(@oauth.token.length).to eq(36)
  end

end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
logstash-input-nakadi-elk24-0.3.0 spec/oauth/oauth_spec.rb
logstash-input-nakadi-0.3.0 spec/oauth/oauth_spec.rb
logstash-input-nakadi-0.2.1 spec/oauth/oauth_spec.rb
logstash-input-nakadi-0.1.0 spec/oauth/oauth_spec.rb