Skip to content

Commit

Permalink
Change default test file to {PROJECT_ROOT}/mini_fb_tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aprimadi committed Mar 9, 2013
1 parent 6ed3b8a commit 9315008
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
pkg pkg
.idea .idea
mini_fb_tests.yml
3 changes: 2 additions & 1 deletion test/test_mini_fb.rb
Expand Up @@ -9,7 +9,8 @@


before :all do before :all do
@is_setup = true @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 puts "@config=" + @config.inspect
MiniFB.log_level = :debug MiniFB.log_level = :debug


Expand Down

0 comments on commit 9315008

Please sign in to comment.