Skip to content

Commit

Permalink
chore: remove duplicate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros committed Jan 10, 2024
1 parent 2956b2d commit 1c824e5
Show file tree
Hide file tree
Showing 8 changed files with 74 additions and 612 deletions.
9 changes: 2 additions & 7 deletions spec/spec_helper_active_record.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

require_relative "spec_helper"
require "active_record"
require_relative '../test/support/models'
require_relative '../test/support/operations'

puts "Using RUBY_ENGINE=#{RUBY_ENGINE} with ActiveRecord #{ActiveRecord.gem_version}"
database_adapter = RUBY_ENGINE == "jruby" ? "jdbcsqlite3" : "sqlite3"
Expand All @@ -28,13 +30,6 @@
end
end

class Product < ActiveRecord::Base
belongs_to :category
end

class Category < ActiveRecord::Base
end

module ActiveRecord
class Base
def self.reset_pk_sequence
Expand Down
Loading

0 comments on commit 1c824e5

Please sign in to comment.