Sha256: b101101a6d7f86c273c827667cdb0e76ce6a8c405e7507ca100d6e9918c81b65

Contents?: true

Size: 471 Bytes

Versions: 43

Compression:

Stored size: 471 Bytes

Contents

require "rails_helper"
require "fileutils"

describe Sapience, "rails integration", :integration do
  context "with a sapience.yml present in config/" do
    describe ".config" do
      subject(:config) { Sapience.config }
      its(:default_level) { is_expected.to eq(:fatal) }
      its(:default_level_index) { is_expected.to eq(5) }
      its(:backtrace_level) { is_expected.to eq(:fatal) }
      its(:backtrace_level_index) { is_expected.to eq(5) }
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
sapience-0.1.4 test_app/spec/integration/sapience_spec.rb
sapience-0.1.3 test_app/spec/integration/sapience_spec.rb
sapience-0.1.2 test_app/spec/integration/sapience_spec.rb