diff --git a/spec/controllers/public_account_shares_spec.rb b/spec/controllers/public_account_shares_spec.rb index 570ea56e..691a7a05 100644 --- a/spec/controllers/public_account_shares_spec.rb +++ b/spec/controllers/public_account_shares_spec.rb @@ -19,10 +19,7 @@ let(:account) { create(:account, :parent) } let(:user) { create(:user, account: account) } - subject do - post :create, params: { account_share: { - }, account_id: account.id } - end + subject { post :create, params: { account_id: account.id } } before { sign_in user }