auto_test 0.0.9.3.9 → 0.0.9.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/auto_test/version.rb +1 -1
- data/lib/simulation.rb +1 -1
- data/lib/tasks/auto_test.rb +2 -1
- metadata +1 -1
data/lib/auto_test/version.rb
CHANGED
data/lib/simulation.rb
CHANGED
|
@@ -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
|
data/lib/tasks/auto_test.rb
CHANGED
|
@@ -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
|
-
|
|
51
|
+
puts "ruby"
|
|
52
|
+
sh "ruby '#{path}/../simulation.rb'"
|
|
52
53
|
end
|
|
53
54
|
|
|
54
55
|
|