Skip to content

Commit

Permalink
(Addition) LTI-42: Add rubocop and automated test with test with trav…
Browse files Browse the repository at this point in the history
…is to LTI2Provider gem (#10)
  • Loading branch information
Billzzhang authored Feb 13, 2023
1 parent 18a08cd commit fc69deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/rails_lti2_provider/tool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module RailsLti2Provider
class Tool < ApplicationRecord
validates :shared_secret, :uuid, :tool_settings, :lti_version, presence: true
serialize :tool_settings
belongs_to :tenant, inverse_of: :tools
belongs_to :tenant, foreign_key: :tenant_id, inverse_of: :tools
has_many :lti_launches, dependent: :restrict_with_exception
has_many :registrations, dependent: :restrict_with_exception

Expand Down

0 comments on commit fc69deb

Please sign in to comment.