Skip to content

Commit afe1da5

Browse files
committed
adjust schema path
1 parent 3a87be4 commit afe1da5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/lib/rails_stats/json_formatter_test.rb

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,13 @@
252252
"code_to_test_ratio": "0.0",
253253
"total": true},
254254
{"schema_stats":
255-
{"schema_path":
256-
"/Users/hmdros/code/hmdros/miles_notifier_app/rails_stats/test/dummy/db/schema.rb",
257-
"create_table calls count": 2}},
258-
{"sti_stats": {"sti_models_count": 1}},
259-
{"polymorphic_stats": {"polymorphic_models_count": 1}}]
255+
{"schema_path":
256+
"#{Dir.pwd}/test/dummy/db/schema.rb",
257+
"create_table calls count": 2}},
258+
{"sti_stats": {"sti_models_count": 1}},
259+
{"polymorphic_stats": {"polymorphic_models_count": 1}
260+
}
261+
]
260262
EOS
261263

262264
it "outputs useful stats for a Rails project" do

0 commit comments

Comments
 (0)