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.
@@ -1,12 +1,13 @@
1
1
  module CapybaraRails
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "capybara_rails.initialize" do |app|
4
- return unless Rails.env.test?
5
- require 'capybara_rails/basic'
6
- require 'capybara_rails/selenium'
4
+ if Rails.env.test?
5
+ require 'capybara_rails/basic'
6
+ require 'capybara_rails/selenium'
7
7
 
8
- ActionDispatch::IntegrationTest.send(:include, CapybaraRails::Basic)
9
- ActionDispatch::IntegrationTest.send(:include, CapybaraRails::Selenium)
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
@@ -1,3 +1,3 @@
1
1
  module CapybaraRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -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
+  (0.4ms) begin transaction
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
+  (0.1ms) rollback transaction
637
+  (0.1ms) begin transaction
638
+  (0.1ms) 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.1
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-18 00:00:00.000000000Z
12
+ date: 2012-02-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70285685320720 !ruby/object:Gem::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: *70285685320720
24
+ version_requirements: *70294460252880
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: capybara
27
- requirement: &70285685288100 !ruby/object:Gem::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: *70285685288100
35
+ version_requirements: *70294460252380
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: capybara-firebug
38
- requirement: &70285685285160 !ruby/object:Gem::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: *70285685285160
46
+ version_requirements: *70294460251920
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: database_cleaner
49
- requirement: &70285685275460 !ruby/object:Gem::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: *70285685275460
57
+ version_requirements: *70294460251460
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sqlite3
60
- requirement: &70285685274160 !ruby/object:Gem::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: *70285685274160
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: 3028217596356124078
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: 3028217596356124078
165
+ hash: -564707503069696373
166
166
  requirements: []
167
167
  rubyforge_project:
168
168
  rubygems_version: 1.8.15