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 committed Jan 24, 2020
1 parent 592d926 commit 25534d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,11 @@ def debug(name, &block)
end

describe "vendor_path" do
it "should have the default vendor path" do
expect(subject.vendor_path).to eq(Bugsnag::Stacktrace::VENDOR_PATH)
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 25534d3

Please sign in to comment.