Sha256: b0518945e6b48f6c966c60bdb7635e8eb9abde957702a91a10fac28bd42fc44e
Contents?: true
Size: 405 Bytes
Versions: 6
Compression:
Stored size: 405 Bytes
Contents
# -*- encoding : utf-8 -*- require 'spec_helper' describe OCRSDK::Mock do describe ".response" do it "should read response from file" do OCRSDK::Mock.response(:test, :test).should == 'meow' end it "should raise an exception if response is not found" do expect { OCRSDK::Mock.response(:test, :non_existant_file) }.to raise_error(Errno::ENOENT) end end end
Version data entries
6 entries across 6 versions & 1 rubygems