pyrite 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pyrite/pyrite_test.rb +4 -2
  2. metadata +3 -3
@@ -2,7 +2,7 @@ require 'pyrite/dsl'
2
2
  require 'pyrite/assertions'
3
3
  require 'pyrite/helpers'
4
4
 
5
- module Pyrite
5
+ module Pyrite
6
6
  class PyriteTest < ActionController::IntegrationTest
7
7
  include Dsl
8
8
  include Assertions
@@ -10,7 +10,7 @@ module Pyrite
10
10
 
11
11
  self.use_transactional_fixtures = false
12
12
 
13
- def browser #:nodoc:
13
+ def browser #:nodoc:
14
14
  $browser ||= Selenium::Client::Driver.new(
15
15
  :host => Pyrite.rc_host,
16
16
  :port => 4444,
@@ -23,6 +23,8 @@ module Pyrite
23
23
  def setup #:nodoc:
24
24
  DatabaseCleaner.clean
25
25
  browser.start_new_browser_session
26
+ browser.get_eval "window.moveTo(1,0)"
27
+ browser.window_maximize
26
28
  super
27
29
  end
28
30
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 0
9
- version: 0.6.0
8
+ - 1
9
+ version: 0.6.1
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-06-16 00:00:00 +01:00
18
+ date: 2010-06-22 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency