capybara_rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capybara_rails/railtie.rb +6 -5
- data/lib/capybara_rails/version.rb +1 -1
- data/test/dummy/log/test.log +36 -0
- metadata +14 -14
@@ -1,12 +1,13 @@
|
|
1
1
|
module CapybaraRails
|
2
2
|
class Railtie < Rails::Railtie
|
3
3
|
initializer "capybara_rails.initialize" do |app|
|
4
|
-
|
5
|
-
|
6
|
-
|
4
|
+
if Rails.env.test?
|
5
|
+
require 'capybara_rails/basic'
|
6
|
+
require 'capybara_rails/selenium'
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
ActionDispatch::IntegrationTest.send(:include, CapybaraRails::Basic)
|
9
|
+
ActionDispatch::IntegrationTest.send(:include, CapybaraRails::Selenium)
|
10
|
+
end
|
10
11
|
end
|
11
12
|
end
|
12
13
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -625,4 +625,40 @@ Served asset /application.css - 200 OK (0ms)
|
|
625
625
|
|
626
626
|
|
627
627
|
Started GET "/assets/application.js" for 127.0.0.1 at 2012-02-18 17:36:45 -0500
|
628
|
+
Served asset /application.js - 200 OK (0ms)
|
629
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
630
|
+
|
631
|
+
|
632
|
+
Started GET "/" for 127.0.0.1 at 2012-02-24 07:54:27 -0500
|
633
|
+
Processing by WelcomeController#index as HTML
|
634
|
+
Rendered welcome/index.html.erb within layouts/application (17.5ms)
|
635
|
+
Completed 200 OK in 63ms (Views: 62.1ms | ActiveRecord: 0.0ms)
|
636
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
637
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
638
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
639
|
+
|
640
|
+
|
641
|
+
Started GET "/" for 127.0.0.1 at 2012-02-24 07:54:35 -0500
|
642
|
+
Processing by WelcomeController#index as HTML
|
643
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
644
|
+
|
645
|
+
|
646
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-02-24 07:54:35 -0500
|
647
|
+
Served asset /application.css - 200 OK (12ms)
|
648
|
+
|
649
|
+
|
650
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2012-02-24 07:54:35 -0500
|
651
|
+
Served asset /application.js - 200 OK (55ms)
|
652
|
+
|
653
|
+
|
654
|
+
Started GET "/" for 127.0.0.1 at 2012-02-24 07:54:39 -0500
|
655
|
+
Processing by WelcomeController#index as HTML
|
656
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
657
|
+
|
658
|
+
|
659
|
+
Started GET "/assets/application.css" for 127.0.0.1 at 2012-02-24 07:54:39 -0500
|
660
|
+
Served asset /application.css - 200 OK (0ms)
|
661
|
+
|
662
|
+
|
663
|
+
Started GET "/assets/application.js" for 127.0.0.1 at 2012-02-24 07:54:39 -0500
|
628
664
|
Served asset /application.js - 200 OK (0ms)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-24 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &70294460252880 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70294460252880
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: capybara
|
27
|
-
requirement: &
|
27
|
+
requirement: &70294460252380 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.1.2
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70294460252380
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: capybara-firebug
|
38
|
-
requirement: &
|
38
|
+
requirement: &70294460251920 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.1.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70294460251920
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: database_cleaner
|
49
|
-
requirement: &
|
49
|
+
requirement: &70294460251460 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 0.7.1
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70294460251460
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: sqlite3
|
60
|
-
requirement: &
|
60
|
+
requirement: &70294460251080 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70294460251080
|
69
69
|
description: A binding for the built-in Rails integration testing that allows for
|
70
70
|
calling the Capybara DSL, setting drivers, etc.
|
71
71
|
email:
|
@@ -153,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
segments:
|
155
155
|
- 0
|
156
|
-
hash:
|
156
|
+
hash: -564707503069696373
|
157
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
158
|
none: false
|
159
159
|
requirements:
|
@@ -162,7 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
version: '0'
|
163
163
|
segments:
|
164
164
|
- 0
|
165
|
-
hash:
|
165
|
+
hash: -564707503069696373
|
166
166
|
requirements: []
|
167
167
|
rubyforge_project:
|
168
168
|
rubygems_version: 1.8.15
|