Sha256: eb837eca5f97e35f623eae2288f3b2bf728f7c1e0e6e7742e8e57a7f792ef6ec

Contents?: true

Size: 450 Bytes

Versions: 7

Compression:

Stored size: 450 Bytes

Contents

require 'spec_helper'
require 'appraisal/file'

# Requiring this to make the test pass on Rubinius 2.2.5
# https://github.com/rubinius/rubinius/issues/2934
require 'rspec/matchers/built_in/raise_error'

describe Appraisal::File do
  it "complains when no Appraisals file is found" do
    allow(::File).to receive(:exist?).with("Appraisals").and_return(false)
    expect { described_class.new }.to raise_error(Appraisal::AppraisalsNotFound)
  end
end

Version data entries

7 entries across 5 versions & 2 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/appraisal-1.0.2/spec/appraisal/file_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/appraisal-1.0.2/spec/appraisal/file_spec.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/appraisal-1.0.2/spec/appraisal/file_spec.rb
appraisal-2.0.1 spec/appraisal/file_spec.rb
appraisal-2.0.0 spec/appraisal/file_spec.rb
appraisal-1.0.3 spec/appraisal/file_spec.rb
appraisal-1.0.2 spec/appraisal/file_spec.rb