Skip to content

Commit

Permalink
Mark AR specific tests with AR tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nbulaj committed Mar 26, 2024
1 parent 72f3c30 commit 424b885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/lib/config_spec.rb
Expand Up @@ -360,7 +360,7 @@
expect(Doorkeeper.config.enable_application_owner?).not_to be(true)
end

context "when enabled without confirmation" do
context "when enabled without confirmation", active_record: true do
class ApplicationWithOwner < ActiveRecord::Base
include Doorkeeper::Orm::ActiveRecord::Mixins::Application
end
Expand Down Expand Up @@ -388,7 +388,7 @@ class ApplicationWithOwner < ActiveRecord::Base
end
end

context "when enabled with confirmation set to true" do
context "when enabled with confirmation set to true", active_record: true do
class ApplicationWithOwner < ActiveRecord::Base
include Doorkeeper::Orm::ActiveRecord::Mixins::Application
end
Expand Down
2 changes: 1 addition & 1 deletion spec/models/doorkeeper/application_spec.rb
Expand Up @@ -518,7 +518,7 @@ def self.generate
end
end

context "when custom model class configured" do
context "when custom model class configured", active_record: true do
class CustomApp < ::ActiveRecord::Base
include Doorkeeper::Orm::ActiveRecord::Mixins::Application
end
Expand Down

0 comments on commit 424b885

Please sign in to comment.