minitest-rails-capybara 2.1.0 → 2.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60ceb32c547d9ab350d89ca3f8f8852922e527c8
4
- data.tar.gz: 119f39793033d0b385581f871cd5f52dcd4b317d
3
+ metadata.gz: 4ff67a50266229316e88d9a93f5b0c7b9799907a
4
+ data.tar.gz: fbede130e3020dec630db08554a6e76ec5867fd3
5
5
  SHA512:
6
- metadata.gz: e1d932a1a1eb9b0a5940b0592fdf43999e5e3320624f1a0d49a56b40cfba65ffa341464d31111a38e4a6130898b019e075f0e5446a499d7a88508ec8699abc8c
7
- data.tar.gz: e3a1b89032baac8cf8a0dd3788841e9299a64e21143c101615e888ebb59a7548f38369bf1d379616f9c0cab8091ff47ae27194e24dea273aca3fb334880914dc
6
+ metadata.gz: ac91960d848095dfc38e249d35ef53d1658ff63bd3f7f0450ab14de6977913a6bfb88c450acd2e51f1974a0fe09f31a15e5611e6b03293b3a306ae6d94c38111
7
+ data.tar.gz: 45aafc6a5be395097fc3e6f64869f7ec6056ae1551e814edf81f7ce5b5c6c510c3060319652f2596181d48d7989cc342ea949f11a426ec2f0ac6e4bcab27303c
@@ -1,3 +1,9 @@
1
+ === 2.1.1 / 2014-07-08
2
+
3
+ * Fix bug with Capybara's DSL
4
+
5
+ https://github.com/blowmage/minitest-rails-capybara/compare/v2.1.0...v2.1.1
6
+
1
7
  === 2.1.0 / 2014-07-08
2
8
 
3
9
  * Allow use of additional_spec in Minitest's Spec DSL.
@@ -3,7 +3,7 @@ require "minitest-rails"
3
3
  module Minitest
4
4
  module Rails
5
5
  module Capybara
6
- VERSION = "2.1.0"
6
+ VERSION = "2.1.1"
7
7
  end
8
8
  end
9
9
  end
@@ -27,7 +27,6 @@ module Capybara
27
27
 
28
28
  # Enable Capybara's spec DSL
29
29
  class << self
30
- alias :feature :describe
31
30
  alias :background :before
32
31
  alias :scenario :it
33
32
  alias :given :let
@@ -63,10 +62,10 @@ module Capybara
63
62
  end
64
63
  end
65
64
 
66
- # Add feature to main object
67
- def feature desc, *addl, &blk # :nodoc:
68
- addl << :capybara
69
- describe desc, addl, &blk
65
+ module Kernel # :nodoc:
66
+ def feature desc, &blk
67
+ describe "#{desc} Feature Test", &blk
68
+ end
70
69
  end
71
70
 
72
71
  module Capybara
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: minitest-rails-capybara 2.1.0.20140708222802 ruby lib
2
+ # stub: minitest-rails-capybara 2.1.1.20140708223658 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "minitest-rails-capybara"
6
- s.version = "2.1.0.20140708222802"
6
+ s.version = "2.1.1.20140708223658"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore