Sha256: 218f29234b3b2ec37bef4dac29449f4edf19c219583c8d1b16bb9ac8d2383ad0
Contents?: true
Size: 696 Bytes
Versions: 14
Compression:
Stored size: 696 Bytes
Contents
require 'controllers/notifications_api_controller_shared_examples' describe ActivityNotification::NotificationsApiController, type: :controller do let(:test_target) { create(:user) } let(:target_type) { :users } let(:typed_target_param) { :user_id } let(:extra_params) { {} } let(:valid_session) {} it_behaves_like :notifications_api_controller describe "/api/v#{ActivityNotification::GEM_VERSION::MAJOR}", type: :request do let(:root_path) { "/api/v#{ActivityNotification::GEM_VERSION::MAJOR}" } let(:test_target) { create(:user) } let(:target_type) { :users } it_behaves_like :notifications_api_request end end
Version data entries
14 entries across 14 versions & 1 rubygems