target_practice 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class TargetPractice
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
@@ -25,7 +25,7 @@ class TargetPractice
25
25
  def run_tests
26
26
  files = FileList[@pattern].to_a
27
27
  test = @test_class.new(:tests_against_files)
28
- test.files = files
28
+ test.files = files.map!{ |file| JSON.parse(File.open(file, 'r').read) }
29
29
  MiniTest::Unit.new.run
30
30
  end
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: target_practice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: