auto_test 0.0.9.5.1 → 0.0.9.5.2
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/simulation.rb +2 -2
- data/lib/spec/requests/simulation_spec.rb +1 -1
- metadata +1 -1
data/lib/auto_test/version.rb
CHANGED
data/lib/simulation.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
ENV["RAILS_ENV"] ||= "test"
|
3
|
-
require File.expand_path("
|
3
|
+
require File.expand_path("config/environment", __FILE__)
|
4
4
|
require "watir-webdriver"
|
5
5
|
|
6
6
|
def login(login_attributes, browser, user)
|
@@ -28,7 +28,7 @@ end
|
|
28
28
|
|
29
29
|
def init_user_inputs
|
30
30
|
@user_inputs = Hash.new
|
31
|
-
file = File.new("
|
31
|
+
file = File.new("log/user_input.log", "r")
|
32
32
|
while line = file.gets do
|
33
33
|
b = line.split(/:/,2)
|
34
34
|
@user_inputs["#{b[0].strip}"] = b[1].chop
|