From c70f57047952bc6f86c4133cdd7a89631aac5a64 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Wed, 11 Sep 2019 19:27:24 +1000 Subject: [PATCH] Rubocop --- plugin.rb | 2 ++ spec/controllers/discourse_patrons/patrons_controller_spec.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index 6949c89..3c93d49 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true. + # name: Discourse Patrons # about: Integrates Stripe into Discourse to allow visitors to make payments # version: 1.0.0 diff --git a/spec/controllers/discourse_patrons/patrons_controller_spec.rb b/spec/controllers/discourse_patrons/patrons_controller_spec.rb index ec182ee..9c62ec3 100644 --- a/spec/controllers/discourse_patrons/patrons_controller_spec.rb +++ b/spec/controllers/discourse_patrons/patrons_controller_spec.rb @@ -15,7 +15,7 @@ module DiscoursePatrons describe 'create' do it 'responds ok' do - post :create, params: { }, format: :json + post :create, params: {}, format: :json expect(response).to have_http_status(200) end end