Sha256: 8d8d7e0aebdd209edddefa420f587ab465de0921d5152b31beb96925634e979a
Contents?: true
Size: 696 Bytes
Versions: 14
Compression:
Stored size: 696 Bytes
Contents
require 'controllers/subscriptions_api_controller_shared_examples' describe ActivityNotification::SubscriptionsApiController, 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 :subscriptions_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 :subscriptions_api_request end end
Version data entries
14 entries across 14 versions & 1 rubygems