pyrite 0.5.3 → 0.5.4

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/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'
@@ -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 `./script/server -e pyrite -p 2222 -d`
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
- - 3
9
- version: 0.5.3
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-16 00:00:00 +01:00
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
- - 0
60
- version: 0.5.0
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