capybara_minitest_spec 0.2.1.1 → 0.2.2
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/.travis.yml +4 -0
- data/README.md +3 -3
- data/capybara_minitest_spec.gemspec +1 -1
- data/lib/capybara_minitest_spec/version.rb +1 -1
- metadata +4 -3
data/.travis.yml
ADDED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Capybara MiniTest Spec
|
|
1
|
+
# Capybara MiniTest Spec [](http://travis-ci.org/ordinaryzelig/capybara_minitest_spec)
|
|
2
2
|
|
|
3
3
|
Define MiniTest::Spec expectations for Capybara node matchers.
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ Now you can have similar functionality while using MiniTest::Spec:
|
|
|
14
14
|
|
|
15
15
|
## Install
|
|
16
16
|
|
|
17
|
-
gem install
|
|
17
|
+
gem install capybara_minitest_spec
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
20
|
|
|
@@ -53,4 +53,4 @@ In theory, this should work with any version of Capybara, so the runtime depende
|
|
|
53
53
|
## Testing
|
|
54
54
|
|
|
55
55
|
This gem was tested by basically copying the Capybara spec located in 'spec/rspec/matchers_spec.rb' and altering the test to run with MiniTest.
|
|
56
|
-
Capybara uses xpath as a submodule of the git repository.
|
|
56
|
+
Capybara uses xpath as a submodule of the git repository. I used the regular gem.
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.require_paths = ["lib"]
|
|
20
20
|
|
|
21
21
|
s.add_runtime_dependency 'capybara'
|
|
22
|
-
s.add_runtime_dependency 'minitest', '
|
|
22
|
+
s.add_runtime_dependency 'minitest', '>= 2.0'
|
|
23
23
|
|
|
24
24
|
s.add_development_dependency 'sinatra', '>= 0.9.4'
|
|
25
25
|
end
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: capybara_minitest_spec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.2.
|
|
5
|
+
version: 0.2.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Jared Ning
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2012-
|
|
13
|
+
date: 2012-05-17 00:00:00 -05:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -30,7 +30,7 @@ dependencies:
|
|
|
30
30
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
31
31
|
none: false
|
|
32
32
|
requirements:
|
|
33
|
-
- -
|
|
33
|
+
- - ">="
|
|
34
34
|
- !ruby/object:Gem::Version
|
|
35
35
|
version: "2.0"
|
|
36
36
|
type: :runtime
|
|
@@ -60,6 +60,7 @@ files:
|
|
|
60
60
|
- .gitignore
|
|
61
61
|
- .gitmodules
|
|
62
62
|
- .rvmrc
|
|
63
|
+
- .travis.yml
|
|
63
64
|
- Gemfile
|
|
64
65
|
- README.md
|
|
65
66
|
- Rakefile
|