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