docbrown/spec/requests/notification_counts_spec.rb
Ben Halpern 92a541a517
Add a couple specs for notifications and pages (#522)
* Add a couple specs

* Remove stream VCR from notifications_spec

* Add github readme spec

* Add notifications count specs

* Add guards in notifications controller

* Fix test

* Fix test
2018-06-29 14:14:36 -04:00

11 lines
No EOL
264 B
Ruby

require "rails_helper"
RSpec.describe "NotificationCounts", type: :request do
describe "GET /notifications/counts" do
it "returns a number" do
# stubbed to be 1
get "/notifications/counts"
expect(response.body).to eq("1")
end
end
end