Sha256: b773041e4384a7a06fe0cf9bf1410a981302ba81b65cba50c9ae8437220babb0
Contents?: true
Size: 505 Bytes
Versions: 127
Compression:
Stored size: 505 Bytes
Contents
require 'spec_helper' describe Softcover::Config do before do chdir_to_book end describe "path" do context "local path override" do before do `touch .softcover` end it "uses local path" do expect(Softcover::Config.path).to eq ".softcover" end after do `rm .softcover` end end context "system path" do it "uses home dir" do expect(Softcover::Config.path).to eq "~/.softcover" end end end end
Version data entries
127 entries across 127 versions & 2 rubygems