Skip to content

Commit

Permalink
Update spec since Bugsnag::Stacktrace::VENDOR_PATH becomes Bugsnag::C…
Browse files Browse the repository at this point in the history
…onfiguration::DEFAULT_VENDOR_PATH
  • Loading branch information
tedyangx authored and tomlongridge committed Jan 28, 2020
1 parent 0abbd8e commit 37e7b39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -428,12 +428,12 @@ def debug(name, &block)
end
end

describe "vendor_path" do
it "should have the default vendor path" do
expect(subject.vendor_path).to eq(Bugsnag::Stacktrace::VENDOR_PATH)
describe "#vendor_path" do
it "returns the default vendor path" do
expect(subject.vendor_path).to eq(Bugsnag::Configuration::DEFAULT_VENDOR_PATH)
end

it "should have the defined vendor path" do
it "returns the defined vendor path" do
subject.vendor_path = /foo/
expect(subject.vendor_path).to eq(/foo/)
end
Expand Down

0 comments on commit 37e7b39

Please sign in to comment.