Sha256: 341598fb2a27ba51dbf5db38379d819af6ba970425e9124ebdfe9e9a1c662c1d

Contents?: true

Size: 455 Bytes

Versions: 6

Compression:

Stored size: 455 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
Bundler.require


RSpec.configure do |config|
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
end

RSpec::Matchers.define :be_converted_successfully do
  match do |conversion_response|
    conversion_response[:status] == 'ok' && File.exist?(conversion_response[:pdf_path]) && File.exist?(conversion_response[:swf_path]) && File.exist?(conversion_response[:cover_path])
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
sharp_office_bruce-1.0.3 spec/spec_helper.rb
sharp_office_bruce-1.0.2 spec/spec_helper.rb
sharp_office_bruce-1.0.1 spec/spec_helper.rb
sharp_office-1.0.1 spec/spec_helper.rb
sharp_office-1.0.0 spec/spec_helper.rb
sharp_office-0.1.1 spec/spec_helper.rb