capybara-mechanize 0.4.0.rc1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.mdown CHANGED
@@ -1,7 +1,7 @@
1
1
  Capybara-mechanize
2
2
  ==================
3
3
 
4
- This gems makes it possible to use Capybara for (partially) remote testing. It inherits most functionality from the RackTest driver and only uses [Mechanize](http://github.com/tenderlove/mechanize) for remote requests.
4
+ This gems makes it possible to use Capybara for (partially) remote testing. It inherits most functionality from the RackTest driver and only uses [Mechanize](https://github.com/sparklemotion/mechanize) for remote requests.
5
5
 
6
6
  It is currently in use to test the integration between a Rails application and Twitter authorization and sharing.
7
7
 
@@ -64,4 +64,4 @@ Note on Patches/Pull Requests
64
64
 
65
65
  Copyright
66
66
  ---------
67
- Copyright (c) 2010-2012 Jeroen van Dijk. See LICENSE for details.
67
+ Copyright (c) 2010-2013 Jeroen van Dijk. See LICENSE for details.
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Mechanize
3
- VERSION = '0.4.0.rc1'
3
+ VERSION = '1.0.0'
4
4
  end
5
5
  end
@@ -179,6 +179,9 @@ describe Capybara::Mechanize::Driver, 'local' do
179
179
  end
180
180
 
181
181
  it "should raise a useful error for sites that return a 404, because it is probably a misconfiguration" do
182
+ # Note that this test fails when it is run on a system with a crappy
183
+ # ISP, like Time Warner, that redirects bad DNS calls to their own
184
+ # search results to make a little more dough.
182
185
  expect {
183
186
  driver.visit("http://iamreallysurethatthisdoesntexist.com/canttouchthis")
184
187
  }.to raise_error(%r{Received the following error for a GET request to http://iamreallysurethatthisdoesntexist.com/canttouchthis:})
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-mechanize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.rc1
5
- prerelease: 6
4
+ version: 1.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jeroen van Dijk
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-09 00:00:00.000000000 Z
12
+ date: 2013-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize
@@ -98,3 +98,4 @@ signing_key:
98
98
  specification_version: 3
99
99
  summary: RackTest driver for Capybara with remote request support
100
100
  test_files: []
101
+ has_rdoc: