diff --git a/spec/factories/notice_factory.rb b/spec/factories/notice_factory.rb index a84667e..bdf4a0f 100644 --- a/spec/factories/notice_factory.rb +++ b/spec/factories/notice_factory.rb @@ -1,7 +1,7 @@ FactoryGirl.define do factory :notice, :class => Honeybadger::Api::Notice do id "5a24f938-a578-427d-a92b-d2f134d4af67" - url "https://app.honeybadger.io/projects/1404/faults/2/5a24f938-a578-427d-a92b-d2f134d4af67" + url "https://app.honeybadger.io/projects/1/faults/2/5a24f938-a578-427d-a92b-d2f134d4af67" fault_id 2 message "This is a runtime error" environment({ diff --git a/spec/notice_spec.rb b/spec/notice_spec.rb index dc9ed56..cecdd1b 100644 --- a/spec/notice_spec.rb +++ b/spec/notice_spec.rb @@ -2,7 +2,7 @@ describe Honeybadger::Api::Notice do - describe "initializing a new comment" do + describe "initializing a new notice" do before :all do @notice = FactoryGirl.build :notice end @@ -12,7 +12,7 @@ end it "should have a url" do - expect(@notice.url).to eql("https://app.honeybadger.io/projects/1404/faults/2/5a24f938-a578-427d-a92b-d2f134d4af67") + expect(@notice.url).to eql("https://app.honeybadger.io/projects/1/faults/2/5a24f938-a578-427d-a92b-d2f134d4af67") end it "should have a fault identifier" do