Skip to content

Commit

Permalink
Tidy up spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
murraysum committed Jul 27, 2016
1 parent e23df5c commit b5a1fc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/factories/notice_factory.rb
Original file line number Diff line number Diff line change
@@ -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({
Expand Down
4 changes: 2 additions & 2 deletions spec/notice_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b5a1fc5

Please sign in to comment.