auto_test 0.0.9.3.9 → 0.0.9.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AutoTest
2
- VERSION = "0.0.9.3.9"
2
+ VERSION = "0.0.9.4.0"
3
3
  end
@@ -105,7 +105,7 @@ init_path
105
105
  init_sessions_array
106
106
  init_user_inputs
107
107
  puts "Firefox is getting started..."
108
- paths = File.new("#{Rails.root}/log/new_path.log")
108
+ paths = File.new("#{Rails.root}/log/new_path.log", "r")
109
109
  home = "localhost:3002"
110
110
  sessions = search_sessions
111
111
  number_of_sessions = sessions.size
@@ -48,7 +48,8 @@ namespace :auto_test do
48
48
  # puts "Error path reduced.There are #{n} paths to be visited."
49
49
  puts "Press Enter to see the path in Firefox! "
50
50
  STDIN.gets
51
- ruby "#{path}/../simulation.rb"
51
+ puts "ruby"
52
+ sh "ruby '#{path}/../simulation.rb'"
52
53
  end
53
54
 
54
55
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: auto_test
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.9.3.9
5
+ version: 0.0.9.4.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Maike Hargens