Skip to content

Commit

Permalink
testing test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
raquii committed Dec 6, 2024
1 parent dcb423d commit 44041da
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/models/testing_migration_ci.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class TestingMigrationCi < ApplicationRecord
end
9 changes: 9 additions & 0 deletions db/migrate/20241206172931_create_testing_migration_cis.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class CreateTestingMigrationCis < ActiveRecord::Migration[7.2]
def change
create_table :testing_migration_cis do |t|
t.string :name

t.timestamps
end
end
end
19 changes: 18 additions & 1 deletion db/schema.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions spec/factories/testing_migration_cis.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FactoryBot.define do
factory :testing_migration_ci do
name { "MyString" }
end
end
5 changes: 5 additions & 0 deletions spec/models/testing_migration_ci_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require 'rails_helper'

RSpec.describe TestingMigrationCi, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
end

0 comments on commit 44041da

Please sign in to comment.