Skip to content

Commit

Permalink
Update user_policy_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
lodewiges authored Nov 24, 2024
1 parent 90bcda2 commit 50d0c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/policies/user_policy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
expect(policy).not_to permit(application,
create(:user, allow_sofia_sharing: false))
end

end

Check failure on line 31 in spec/policies/user_policy_spec.rb

View workflow job for this annotation

GitHub Actions / Lint

[Correctable] RSpec/EmptyLineAfterExampleGroup: Add an empty line after describe. (https://rspec.rubystyle.guide/#empty-lines-between-describes, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/EmptyLineAfterExampleGroup)
describe 'when with old sofia application' do

Check failure on line 32 in spec/policies/user_policy_spec.rb

View workflow job for this annotation

GitHub Actions / Lint

[Correctable] Layout/IndentationConsistency: Inconsistent indentation detected. (https://rubystyle.guide#spaces-indentation, https://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#follow-the-coding-conventions)
let(:application) { Doorkeeper::Application.create(name: 'Old Sofia', scopes: 'tomato') }

Check failure on line 33 in spec/policies/user_policy_spec.rb

View workflow job for this annotation

GitHub Actions / Lint

[Correctable] Layout/IndentationWidth: Use 2 (not 4) spaces for indentation. (https://rubystyle.guide#spaces-indentation)

Check failure on line 34 in spec/policies/user_policy_spec.rb

View workflow job for this annotation

GitHub Actions / Lint

[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
Expand Down

0 comments on commit 50d0c83

Please sign in to comment.