Skip to content
Browse files

Change default test file to {PROJECT_ROOT}/mini_fb_tests.yml

  • Loading branch information...
1 parent 6ed3b8a commit 93150080e2af1311bba8ad75b95576858439518a @aprimadi aprimadi committed
Showing with 3 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +2 −1 test/test_mini_fb.rb
View
1 .gitignore
@@ -1,2 +1,3 @@
pkg
.idea
+mini_fb_tests.yml
View
3 test/test_mini_fb.rb
@@ -9,7 +9,8 @@
before :all do
@is_setup = true
- @config = File.open(File.expand_path("~/.test_configs/mini_fb_tests.yml")) { |yf| YAML::load(yf) }
+ file_path = File.expand_path("../mini_fb_tests.yml", File.dirname(__FILE__))
+ @config = File.open(file_path) { |yf| YAML::load(yf) }
puts "@config=" + @config.inspect
MiniFB.log_level = :debug

0 comments on commit 9315008

Please sign in to comment.
Something went wrong with that request. Please try again.