Sha256: e62db695a61e2dbe82610f52fea79180ea62f5161f310930339c4d97f7a41220

Contents?: true

Size: 308 Bytes

Versions: 18

Compression:

Stored size: 308 Bytes

Contents

require 'spec_helper'

describe Sqed::Parser::OcrParser do

  let(:image) { ImageHelpers.readme_text  }
  let(:p) { Sqed::Parser::OcrParser.new(image) }

  specify '#image' do
    expect(p).to respond_to(:image)
  end

  specify '#text returns some text' do
    expect(p.text).to eq('README.md')
  end

end 

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
sqed-0.3.2 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.3.1 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.3.0 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.2.4 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.2.3 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.2.2 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.2.1 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.2.0 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.9 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.8 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.7 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.6 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.5 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.4 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.3 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.2 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.1 spec/lib/sqed/parser/ocr_spec.rb
sqed-0.1.0 spec/lib/sqed/parser/ocr_spec.rb