auto_test 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/auto_test/version.rb +1 -1
- data/lib/tasks/auto_test.rb +2 -2
- metadata +1 -1
data/lib/auto_test/version.rb
CHANGED
data/lib/tasks/auto_test.rb
CHANGED
@@ -47,10 +47,10 @@ namespace :auto_test do
|
|
47
47
|
# end
|
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
|
-
while STDIN.gets do
|
50
|
+
while STDIN.gets == "\n" do
|
51
51
|
sh "rspec #{path}/spec/requests/simulation_spec.rb -o '#{path}/../log/simulation.txt'"
|
52
52
|
sh "rm '#{path}/../log/simulation.txt'"
|
53
|
-
puts "Press Enter to see the simulation again
|
53
|
+
puts "Press Enter to see the simulation again else type 'exit'."
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|