minitest-rails-capybara 0.0.1

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/.autotest ADDED
@@ -0,0 +1,23 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'autotest/restart'
4
+
5
+ # Autotest.add_hook :initialize do |at|
6
+ # at.extra_files << "../some/external/dependency.rb"
7
+ #
8
+ # at.libs << ":../some/external"
9
+ #
10
+ # at.add_exception 'vendor'
11
+ #
12
+ # at.add_mapping(/dependency.rb/) do |f, _|
13
+ # at.files_matching(/test_.*rb$/)
14
+ # end
15
+ #
16
+ # %w(TestA TestB).each do |klass|
17
+ # at.extra_class_map[klass] = "test/test_misc.rb"
18
+ # end
19
+ # end
20
+
21
+ # Autotest.add_hook :run_command do |at|
22
+ # system "rake build"
23
+ # end
data/.gemtest ADDED
File without changes
data/CHANGELOG.rdoc ADDED
@@ -0,0 +1,6 @@
1
+ === 0.0.1 / 2012-07-07
2
+
3
+ * 1 major enhancement
4
+
5
+ * Birthday!
6
+
data/Manifest.txt ADDED
@@ -0,0 +1,9 @@
1
+ .autotest
2
+ .gemtest
3
+ CHANGELOG.rdoc
4
+ Manifest.txt
5
+ README.rdoc
6
+ Rakefile
7
+ lib/minitest/rails/capybara.rb
8
+ minitest-rails-capybara.gemspec
9
+ test/test_minitest_rails_capybara.rb
data/README.rdoc ADDED
@@ -0,0 +1,57 @@
1
+ = minitest-rails-capybara
2
+
3
+ * FIX (url)
4
+
5
+ == DESCRIPTION:
6
+
7
+ FIX (describe your package)
8
+
9
+ == FEATURES/PROBLEMS:
10
+
11
+ * FIX (list of features or problems)
12
+
13
+ == SYNOPSIS:
14
+
15
+ FIX (code sample of usage)
16
+
17
+ == REQUIREMENTS:
18
+
19
+ * FIX (list of requirements)
20
+
21
+ == INSTALL:
22
+
23
+ * FIX (sudo gem install, anything else)
24
+
25
+ == DEVELOPERS:
26
+
27
+ After checking out the source, run:
28
+
29
+ $ rake newb
30
+
31
+ This task will install any missing dependencies, run the tests/specs,
32
+ and generate the RDoc.
33
+
34
+ == LICENSE:
35
+
36
+ (The MIT License)
37
+
38
+ Copyright (c) 2012 FIX
39
+
40
+ Permission is hereby granted, free of charge, to any person obtaining
41
+ a copy of this software and associated documentation files (the
42
+ 'Software'), to deal in the Software without restriction, including
43
+ without limitation the rights to use, copy, modify, merge, publish,
44
+ distribute, sublicense, and/or sell copies of the Software, and to
45
+ permit persons to whom the Software is furnished to do so, subject to
46
+ the following conditions:
47
+
48
+ The above copyright notice and this permission notice shall be
49
+ included in all copies or substantial portions of the Software.
50
+
51
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
52
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
53
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
54
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
55
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
56
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
57
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,25 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'hoe'
5
+
6
+ Hoe.plugin :git
7
+ Hoe.plugin :gemspec
8
+ Hoe.plugins.delete :rubyforge
9
+
10
+ Hoe.spec 'minitest-rails-capybara' do
11
+ developer 'Mike Moore', 'mike@blowmage.com'
12
+
13
+ self.summary = 'Capybara integration for MiniTest::Rails.'
14
+ self.description = 'Adds Capybara to acceptance tests in Minitest::Rails.'
15
+ self.urls = ['http://blowmage.com/minitest-rails-capybara']
16
+
17
+ self.history_file = "CHANGELOG.rdoc"
18
+ self.readme_file = "README.rdoc"
19
+ self.testlib = :minitest
20
+
21
+ extra_deps << ['minitest-rails']
22
+ extra_deps << ['capybara']
23
+ end
24
+
25
+ # vim: syntax=ruby
@@ -0,0 +1,11 @@
1
+ require "minitest/rails"
2
+ require "capybara/rails"
3
+
4
+ class Minitest::Rails::Capybara
5
+ VERSION = '0.0.1'
6
+ end
7
+
8
+ class MiniTest::Rails::ActionDispatch::IntegrationTest
9
+ include Rails.application.routes.url_helpers
10
+ include Capybara::DSL
11
+ end
@@ -0,0 +1,42 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "minitest-rails-capybara"
5
+ s.version = "0.0.1.20120707121836"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Mike Moore"]
9
+ s.date = "2012-07-07"
10
+ s.description = "Adds Capybara to acceptance tests in Minitest::Rails."
11
+ s.email = ["mike@blowmage.com"]
12
+ s.extra_rdoc_files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc"]
13
+ s.files = [".autotest", ".gemtest", "CHANGELOG.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "lib/minitest/rails/capybara.rb", "minitest-rails-capybara.gemspec", "test/test_minitest_rails_capybara.rb"]
14
+ s.homepage = "http://blowmage.com/minitest-rails-capybara"
15
+ s.rdoc_options = ["--main", "README.rdoc"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = "minitest-rails-capybara"
18
+ s.rubygems_version = "1.8.16"
19
+ s.summary = "Capybara integration for MiniTest::Rails."
20
+ s.test_files = ["test/test_minitest_rails_capybara.rb"]
21
+
22
+ if s.respond_to? :specification_version then
23
+ s.specification_version = 3
24
+
25
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
+ s.add_runtime_dependency(%q<minitest-rails>, [">= 0"])
27
+ s.add_runtime_dependency(%q<capybara>, [">= 0"])
28
+ s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
29
+ s.add_development_dependency(%q<hoe>, ["~> 3.0"])
30
+ else
31
+ s.add_dependency(%q<minitest-rails>, [">= 0"])
32
+ s.add_dependency(%q<capybara>, [">= 0"])
33
+ s.add_dependency(%q<rdoc>, ["~> 3.10"])
34
+ s.add_dependency(%q<hoe>, ["~> 3.0"])
35
+ end
36
+ else
37
+ s.add_dependency(%q<minitest-rails>, [">= 0"])
38
+ s.add_dependency(%q<capybara>, [">= 0"])
39
+ s.add_dependency(%q<rdoc>, ["~> 3.10"])
40
+ s.add_dependency(%q<hoe>, ["~> 3.0"])
41
+ end
42
+ end
@@ -0,0 +1,8 @@
1
+ require "test/unit"
2
+ require "minitest/rails/capybara"
3
+
4
+ class TestMinitest::Rails::Capybara < Test::Unit::TestCase
5
+ def test_sanity
6
+ flunk "write tests or I will kneecap you"
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,104 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minitest-rails-capybara
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Mike Moore
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-07-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: minitest-rails
16
+ requirement: &70168858107760 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70168858107760
25
+ - !ruby/object:Gem::Dependency
26
+ name: capybara
27
+ requirement: &70168858115240 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70168858115240
36
+ - !ruby/object:Gem::Dependency
37
+ name: rdoc
38
+ requirement: &70168858114560 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '3.10'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70168858114560
47
+ - !ruby/object:Gem::Dependency
48
+ name: hoe
49
+ requirement: &70168858113900 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70168858113900
58
+ description: Adds Capybara to acceptance tests in Minitest::Rails.
59
+ email:
60
+ - mike@blowmage.com
61
+ executables: []
62
+ extensions: []
63
+ extra_rdoc_files:
64
+ - CHANGELOG.rdoc
65
+ - Manifest.txt
66
+ - README.rdoc
67
+ files:
68
+ - .autotest
69
+ - .gemtest
70
+ - CHANGELOG.rdoc
71
+ - Manifest.txt
72
+ - README.rdoc
73
+ - Rakefile
74
+ - lib/minitest/rails/capybara.rb
75
+ - minitest-rails-capybara.gemspec
76
+ - test/test_minitest_rails_capybara.rb
77
+ homepage: http://blowmage.com/minitest-rails-capybara
78
+ licenses: []
79
+ post_install_message:
80
+ rdoc_options:
81
+ - --main
82
+ - README.rdoc
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ! '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ requirements: []
98
+ rubyforge_project: minitest-rails-capybara
99
+ rubygems_version: 1.8.16
100
+ signing_key:
101
+ specification_version: 3
102
+ summary: Capybara integration for MiniTest::Rails.
103
+ test_files:
104
+ - test/test_minitest_rails_capybara.rb