From 1e54caf2378e363e53ce52d561aa24b7da953e9a Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Thu, 30 May 2019 16:28:00 -0500 Subject: [PATCH] zzz --- spec/controllers/subscriptions_controller_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/controllers/subscriptions_controller_spec.rb b/spec/controllers/subscriptions_controller_spec.rb index 2ab6b04a..a6aad216 100644 --- a/spec/controllers/subscriptions_controller_spec.rb +++ b/spec/controllers/subscriptions_controller_spec.rb @@ -198,14 +198,14 @@ RSpec.describe SubscriptionsController, type: :controller do describe "Premium Permissions" do it "allows Premium users to create core content types" do - @user.update(selected_billing_plan_id: @premium_plan.id) + @user.update(selected_billing_plan_id: 4) expect(@user.can_create?(Character)).to eq(true) expect(@user.can_create?(Location)).to eq(true) expect(@user.can_create?(Item)).to eq(true) end it "allows Premium users to create extended content types" do - @user.update(selected_billing_plan_id: @premium_plan.id) + @user.update(selected_billing_plan_id: 4) expect(@user.can_create?(Creature)).to eq(true) expect(@user.can_create?(Race)).to eq(true) expect(@user.can_create?(Religion)).to eq(true) @@ -216,7 +216,7 @@ RSpec.describe SubscriptionsController, type: :controller do end it "allows Premium users to create collective content types" do - @user.update(selected_billing_plan_id: @premium_plan.id) + @user.update(selected_billing_plan_id: 4) expect(@user.can_create?(Scene)).to eq(true) end end