* 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
11 lines
No EOL
264 B
Ruby
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 |