Skip to content

Commit

Permalink
Document that rack_env must be a Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Hale committed Jan 4, 2017
1 parent bbfc6d6 commit 957fe6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/error_reporters/rollbar_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
context "given an empty rack_env" do
let(:rack_env) { {} }

it "expects rack_env to be a hash" do
assert_kind_of(Hash, rack_env)
end

it "reports to Rollbar with an empty scope" do
notify
expect(Rollbar).to have_received(:scoped).once.with({})
Expand Down

0 comments on commit 957fe6d

Please sign in to comment.