minitest-rails-capybara 2.0.0.beta1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +16 -1
- data/README.rdoc +4 -4
- data/Rakefile +1 -1
- data/lib/minitest-rails-capybara.rb +1 -1
- data/minitest-rails-capybara.gemspec +7 -7
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea2f92a80b735c662695782297d434c7324dbcd8
|
4
|
+
data.tar.gz: c767e6121a9b83a53ed99842c9895b8b35d58a02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74326afdac3ba99157d56446c1fb8762e16ed88ad4685246d264e76ba1253865d7dbc2244d70c54fa8eedf1844d43d744dfef650fbf67c0058e7e9306bae81a6
|
7
|
+
data.tar.gz: c0fbcd585dfe0da895a25bc9a6c2c447b6c8e44ecff6421054b289d7377f84127c8209e339a7f89e8f0ee9432a33619c9ab657acdbb3d1f5b9a938e3cb854850
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,10 +1,25 @@
|
|
1
|
+
=== 2.0.0 / 2014-04-21
|
2
|
+
|
3
|
+
Major release, specific to Rails 4.1+ and Minitest 5.
|
4
|
+
|
5
|
+
* Support additional descriptions in spec types
|
6
|
+
* describe "Users can do things", :capybara do
|
7
|
+
|
8
|
+
https://github.com/blowmage/minitest-rails/compare/v1.0.0...v2.0.0
|
9
|
+
|
10
|
+
=== 1.0.0 / 2014-04-15
|
11
|
+
|
12
|
+
* Fix issue with routes named "test"
|
13
|
+
* Remove deprecation warnings
|
14
|
+
|
15
|
+
https://github.com/blowmage/minitest-rails-capybara/compare/v0.10...v1.0.0
|
16
|
+
|
1
17
|
=== 0.10.0 / 2013-07-23
|
2
18
|
|
3
19
|
* Allow feature to work without "Feature Test"
|
4
20
|
* Call reset_sessions! after tests [closes #7]
|
5
21
|
* Add Capybara documentation
|
6
22
|
|
7
|
-
|
8
23
|
https://github.com/blowmage/minitest-rails-capybara/compare/v0.9...v0.10
|
9
24
|
|
10
25
|
=== 0.9.0 / 2013-03-18
|
data/README.rdoc
CHANGED
@@ -26,7 +26,7 @@ Follow the instructions to configure <tt>minitest-rails</tt>. Then add <tt>minit
|
|
26
26
|
gem "minitest-rails-capybara"
|
27
27
|
end
|
28
28
|
|
29
|
-
Add the following to your <tt>
|
29
|
+
Add the following to your <tt>test_helper.rb</tt> file to the <tt>test</tt> directory.
|
30
30
|
|
31
31
|
require "minitest/rails/capybara"
|
32
32
|
|
@@ -40,7 +40,7 @@ To generate these feature tests, you can use the feature generator:
|
|
40
40
|
|
41
41
|
You can now use Capybara in your feature tests!
|
42
42
|
|
43
|
-
require "
|
43
|
+
require "test_helper"
|
44
44
|
|
45
45
|
class CanAccessHomeTest < Capybara::Rails::TestCase
|
46
46
|
def test_homepage_has_content
|
@@ -55,7 +55,7 @@ Or you can specify use of the Capybara's spec DSL by providing the <tt>--spec</t
|
|
55
55
|
|
56
56
|
Which will generate a feature test using the Capybara spec DSL:
|
57
57
|
|
58
|
-
require "
|
58
|
+
require "test_helper"
|
59
59
|
|
60
60
|
feature "Can Access Home" do
|
61
61
|
scenario "has content" do
|
@@ -66,7 +66,7 @@ Which will generate a feature test using the Capybara spec DSL:
|
|
66
66
|
|
67
67
|
An alternative way to specify using Capybara is to provide <tt>:capybara</tt> as a second argument to <tt>describe</tt>:
|
68
68
|
|
69
|
-
require "
|
69
|
+
require "test_helper"
|
70
70
|
|
71
71
|
describe "Can Access Home", :capybara do
|
72
72
|
it "has content" do
|
data/Rakefile
CHANGED
@@ -19,7 +19,7 @@ Hoe.spec "minitest-rails-capybara" do
|
|
19
19
|
|
20
20
|
license "MIT"
|
21
21
|
|
22
|
-
dependency "minitest-rails", "
|
22
|
+
dependency "minitest-rails", "~> 2.0.0"
|
23
23
|
dependency "capybara", "~> 2.0"
|
24
24
|
dependency "minitest-capybara", "~> 0.6.1"
|
25
25
|
dependency "minitest-metadata", "~> 0.5.0"
|
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: minitest-rails-capybara 2.0.0.
|
2
|
+
# stub: minitest-rails-capybara 2.0.0.20140421135023 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "minitest-rails-capybara"
|
6
|
-
s.version = "2.0.0.
|
6
|
+
s.version = "2.0.0.20140421135023"
|
7
7
|
|
8
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
8
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib"]
|
10
10
|
s.authors = ["Mike Moore"]
|
11
|
-
s.date = "2014-04-
|
11
|
+
s.date = "2014-04-21"
|
12
12
|
s.description = "Adds Capybara feature tests in Minitest and Rails."
|
13
13
|
s.email = ["mike@blowmage.com"]
|
14
14
|
s.extra_rdoc_files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc"]
|
@@ -24,14 +24,14 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.specification_version = 4
|
25
25
|
|
26
26
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
|
-
s.add_runtime_dependency(%q<minitest-rails>, ["
|
27
|
+
s.add_runtime_dependency(%q<minitest-rails>, ["~> 2.0.0"])
|
28
28
|
s.add_runtime_dependency(%q<capybara>, ["~> 2.0"])
|
29
29
|
s.add_runtime_dependency(%q<minitest-capybara>, ["~> 0.6.1"])
|
30
30
|
s.add_runtime_dependency(%q<minitest-metadata>, ["~> 0.5.0"])
|
31
31
|
s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
|
32
32
|
s.add_development_dependency(%q<hoe>, ["~> 3.11"])
|
33
33
|
else
|
34
|
-
s.add_dependency(%q<minitest-rails>, ["
|
34
|
+
s.add_dependency(%q<minitest-rails>, ["~> 2.0.0"])
|
35
35
|
s.add_dependency(%q<capybara>, ["~> 2.0"])
|
36
36
|
s.add_dependency(%q<minitest-capybara>, ["~> 0.6.1"])
|
37
37
|
s.add_dependency(%q<minitest-metadata>, ["~> 0.5.0"])
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
|
|
39
39
|
s.add_dependency(%q<hoe>, ["~> 3.11"])
|
40
40
|
end
|
41
41
|
else
|
42
|
-
s.add_dependency(%q<minitest-rails>, ["
|
42
|
+
s.add_dependency(%q<minitest-rails>, ["~> 2.0.0"])
|
43
43
|
s.add_dependency(%q<capybara>, ["~> 2.0"])
|
44
44
|
s.add_dependency(%q<minitest-capybara>, ["~> 0.6.1"])
|
45
45
|
s.add_dependency(%q<minitest-metadata>, ["~> 0.5.0"])
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-rails-capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.0.0
|
19
|
+
version: 2.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.0.0
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,9 +144,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
144
144
|
version: '0'
|
145
145
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- - "
|
147
|
+
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
149
|
+
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
152
|
rubygems_version: 2.2.2
|