Sha256: 198dfd40086eeaaf32fe899f56288c76e287173dda6eaf765af44ae8de10c351

Contents?: true

Size: 312 Bytes

Versions: 5

Compression:

Stored size: 312 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'spec_helper'

describe OCRSDK do
  it "should be configurable" do
    OCRSDK.setup do |config|
      config.application_id = 'meow'
      config.password = 'purr'
    end

    OCRSDK.config.application_id.should == 'meow'
    OCRSDK.config.password.should == 'purr'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ocrsdk-0.3.4 spec/ocrsdk_spec.rb
ocrsdk-0.3.3 spec/ocrsdk_spec.rb
ocrsdk-0.3.2 spec/ocrsdk_spec.rb
ocrsdk-0.3.1 spec/ocrsdk_spec.rb
ocrsdk-0.3.0 spec/ocrsdk_spec.rb