Sha256: b4970581de8337b84381e8f1af4699a2556bf97e1ba1d88c3f4a1964ea0264a1
Contents?: true
Size: 443 Bytes
Versions: 2
Compression:
Stored size: 443 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 "should complain when no Appraisals file is found" do ::File.stub(:exist?).with("Appraisals").and_return(false) expect { described_class.new }.to raise_error(Appraisal::AppraisalsNotFound) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
appraisal-1.0.0 | spec/appraisal/file_spec.rb |
appraisal-1.0.0.beta3 | spec/appraisal/file_spec.rb |