pyrite 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pyrite.rb +4 -3
- data/lib/pyrite/tasks/pyrite.rb +1 -1
- metadata +5 -5
data/lib/pyrite.rb
CHANGED
@@ -6,9 +6,6 @@ DatabaseCleaner.strategy = :truncation
|
|
6
6
|
require 'pyrite/pyrite_test'
|
7
7
|
|
8
8
|
module Pyrite
|
9
|
-
# The port on which the test server will be booted
|
10
|
-
mattr_accessor :server_port
|
11
|
-
@@server_port = 2222
|
12
9
|
|
13
10
|
# The ip address the RC is running on
|
14
11
|
mattr_accessor :rc_host
|
@@ -18,6 +15,10 @@ module Pyrite
|
|
18
15
|
mattr_accessor :sever_url
|
19
16
|
@@sever_url = ENV['SERVER_URL'] || 'http://0.0.0.0'
|
20
17
|
|
18
|
+
# The port on which the test server will be booted
|
19
|
+
mattr_accessor :server_port
|
20
|
+
@@server_port = ENV['SERVER_PORT'] || 2222
|
21
|
+
|
21
22
|
# The browser that selenium will drive
|
22
23
|
mattr_accessor :browser
|
23
24
|
@@browser = ENV['BROWSER'] || '*chrome'
|
data/lib/pyrite/tasks/pyrite.rb
CHANGED
@@ -9,7 +9,7 @@ namespace :pyrite do
|
|
9
9
|
|
10
10
|
desc "Startup Selenium RC and the server for browser testing"
|
11
11
|
task :start => 'selenium:start' do
|
12
|
-
puts
|
12
|
+
puts `script/server -p 2222 -e pyrite -d`
|
13
13
|
end
|
14
14
|
|
15
15
|
desc "Shutdown Selenium RC and the server for browser testing"
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 5
|
8
|
-
-
|
9
|
-
version: 0.5.
|
8
|
+
- 4
|
9
|
+
version: 0.5.4
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Adam Rogers
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-04-
|
18
|
+
date: 2010-04-21 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -56,8 +56,8 @@ dependencies:
|
|
56
56
|
segments:
|
57
57
|
- 0
|
58
58
|
- 5
|
59
|
-
-
|
60
|
-
version: 0.5.
|
59
|
+
- 2
|
60
|
+
version: 0.5.2
|
61
61
|
type: :runtime
|
62
62
|
version_requirements: *id003
|
63
63
|
description: A small, simple testing framework for use with selenium
|