Sha256: e053bec4559eb805e0286850152b7f1001c3371b6eae6addda4eeffa425c498d
Contents?: true
Size: 604 Bytes
Versions: 10
Compression:
Stored size: 604 Bytes
Contents
require 'spec_helper' require 'approvals/configuration' describe Approvals::Configuration do it "defaults to 'fixtures/approvals/'" do expect(Approvals.configuration.approvals_path).to eq('fixtures/approvals/') end describe "when set" do before(:each) do Approvals.configure do |c| c.approvals_path = 'output/dir/' end end after(:each) do Approvals.configure do |c| c.approvals_path = nil end end it "overrides the output directory" do expect(Approvals.configuration.approvals_path).to eq('output/dir/') end end end
Version data entries
10 entries across 10 versions & 2 rubygems