rspec-rails-matchers 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Cyril David
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,28 @@
1
+ = Dry Rspec is Fun!
2
+
3
+ This gem contains a lot of macros for rails specific purposes. This will only work for Rails 3 above and Rspec 2.0 above. A couple of examples:
4
+
5
+
6
+ describe User do
7
+ subject { User.new }
8
+
9
+ it { should validate_presence_of(:username) }
10
+ it { should validate_uniqueness_of(:email) }
11
+ it { should validate_length_of(:password, :within => 3..20) }
12
+ it { should belong_to(:group) }
13
+ it { should have_many(:articles) }
14
+ end
15
+
16
+ == Note on Patches/Pull Requests
17
+
18
+ * Fork the project.
19
+ * Make your feature addition or bug fix.
20
+ * Add tests for it. This is important so I don't break it in a
21
+ future version unintentionally.
22
+ * Commit, do not mess with rakefile, version, or history.
23
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
24
+ * Send me a pull request. Bonus points for topic branches.
25
+
26
+ == Copyright
27
+
28
+ Copyright (c) 2010 Sinefunc. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,45 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "rspec-rails-matchers"
8
+ gem.summary = %Q{Rspec 2.0 only rails matchers}
9
+ gem.description = %Q{Helps you write rspec with rails for fun}
10
+ gem.email = "cyx.ucron@gmail.com"
11
+ gem.homepage = "http://github.com/cyx/rspec-rails-matchers"
12
+ gem.authors = ["Cyril David"]
13
+ gem.add_development_dependency "rspec", ">= 1.2.9"
14
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
+ end
16
+ Jeweler::GemcutterTasks.new
17
+ rescue LoadError
18
+ puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
19
+ end
20
+
21
+ # require 'spec/rake/spectask'
22
+ # Spec::Rake::SpecTask.new(:spec) do |spec|
23
+ # spec.libs << 'lib' << 'spec'
24
+ # spec.spec_files = FileList['spec/**/*_spec.rb']
25
+ # end
26
+ #
27
+ # Spec::Rake::SpecTask.new(:rcov) do |spec|
28
+ # spec.libs << 'lib' << 'spec'
29
+ # spec.pattern = 'spec/**/*_spec.rb'
30
+ # spec.rcov = true
31
+ # end
32
+ #
33
+ # task :spec => :check_dependencies
34
+ #
35
+ # task :default => :spec
36
+ #
37
+ # require 'rake/rdoctask'
38
+ # Rake::RDocTask.new do |rdoc|
39
+ # version = File.exist?('VERSION') ? File.read('VERSION') : ""
40
+ #
41
+ # rdoc.rdoc_dir = 'rdoc'
42
+ # rdoc.title = "rspec-rails-matchers #{version}"
43
+ # rdoc.rdoc_files.include('README*')
44
+ # rdoc.rdoc_files.include('lib/**/*.rb')
45
+ # end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.1
@@ -0,0 +1,15 @@
1
+ require 'rspec'
2
+ require 'rspec/matchers'
3
+
4
+ $LOAD_PATH.unshift(File.expand_path('../../../', __FILE__))
5
+
6
+ module RspecRailsMatchers
7
+ autoload :Message, 'rspec_rails_matchers/message'
8
+ autoload :Validations, 'rspec_rails_matchers/validations'
9
+ autoload :Associations, 'rspec_rails_matchers/associations'
10
+ end
11
+
12
+ Rspec.configure do |c|
13
+ c.include RspecRailsMatchers::Validations
14
+ c.include RspecRailsMatchers::Associations
15
+ end
@@ -0,0 +1,14 @@
1
+ module RspecRailsMatchers
2
+ module Associations
3
+ autoload :Helpers, 'rspec_rails_matchers/associations/helpers'
4
+ autoload :HaveMany, 'rspec_rails_matchers/associations/have_many'
5
+ autoload :BelongTo, 'rspec_rails_matchers/associations/belong_to'
6
+ autoload :HaveOne, 'rspec_rails_matchers/associations/have_one'
7
+ autoload :HaveAndBelongToMany, 'rspec_rails_matchers/associations/have_and_belong_to_many'
8
+
9
+ include HaveMany
10
+ include BelongTo
11
+ include HaveOne
12
+ include HaveAndBelongToMany
13
+ end
14
+ end
@@ -0,0 +1,22 @@
1
+ module RspecRailsMatchers
2
+ module Associations
3
+ module BelongTo
4
+ def belong_to(association)
5
+ Rspec::Matchers::Matcher.new :belong_to, association do |_association_|
6
+ extend RspecRailsMatchers::Associations::Helpers
7
+
8
+ match do |model|
9
+ associations(model, :belongs_to).any? { |a| a == _association_ }
10
+ end
11
+
12
+ failure_message_for_should do |model|
13
+ RspecRailsMatchers::Message.error(
14
+ :expected => [ "%s to belong to %s", model, _association_ ],
15
+ :actual => [ "%s belongs to %s", model, associations(model, :belongs_to) ]
16
+ )
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ module RspecRailsMatchers
2
+ module Associations
3
+ module HaveAndBelongToMany
4
+ def have_and_belong_to_many(association)
5
+ Rspec::Matchers::Matcher.new :have_and_belong_to_many, association do |_association_|
6
+ extend RspecRailsMatchers::Associations::Helpers
7
+
8
+ match do |model|
9
+ associations(model, :has_and_belongs_to_many).any? { |a| a == _association_ }
10
+ end
11
+
12
+ failure_message_for_should do |model|
13
+ RspecRailsMatchers::Message.error(
14
+ :expected => [ "%s to have and belong to %s", model, _association_ ],
15
+ :actual => [ "%s has and belongs to %s", model, associations(model, :has_and_belongs_to_many) ]
16
+ )
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ module RspecRailsMatchers
2
+ module Associations
3
+ module HaveMany
4
+ def have_many(association)
5
+ Rspec::Matchers::Matcher.new :have_many, association do |_association_|
6
+ extend RspecRailsMatchers::Associations::Helpers
7
+
8
+ match do |model|
9
+ associations(model, :has_many).any? { |a| a == _association_ }
10
+ end
11
+
12
+ failure_message_for_should do |model|
13
+ RspecRailsMatchers::Message.error(
14
+ :expected => [ "%s to have have many %s", model, _association_ ],
15
+ :actual => [ "%s has many %s", model, associations(model, :has_many) ]
16
+ )
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,22 @@
1
+ module RspecRailsMatchers
2
+ module Associations
3
+ module HaveOne
4
+ def have_one(association)
5
+ Rspec::Matchers::Matcher.new :have_one, association do |_association_|
6
+ extend RspecRailsMatchers::Associations::Helpers
7
+
8
+ match do |model|
9
+ associations(model, :has_one).any? { |a| a == _association_ }
10
+ end
11
+
12
+ failure_message_for_should do |model|
13
+ RspecRailsMatchers::Message.error(
14
+ :expected => [ "%s to have one %s", model, _association_ ],
15
+ :actual => [ "%s has one %s", model, associations(model, :has_one) ]
16
+ )
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,9 @@
1
+ module RspecRailsMatchers
2
+ module Associations
3
+ module Helpers
4
+ def associations( model, type )
5
+ model.class.reflect_on_all_associations(type).map(&:name)
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,35 @@
1
+ module RspecRailsMatchers
2
+ module Message
3
+ def self.error( options = {} )
4
+ msg = %(expected #{transform(options[:expected])})
5
+ msg << %(\n got #{transform(options[:got])}) if options[:got]
6
+ msg << %(\n actual #{transform(options[:actual])}) if options[:actual]
7
+ msg << %(\n)
8
+ msg
9
+ end
10
+
11
+ private
12
+ def self.transform( str_or_array )
13
+ case str_or_array
14
+ when String
15
+ str_or_array
16
+ when Array
17
+ puts str_or_array[1..-1].inspect
18
+ sprintf str_or_array[0], *prettify(str_or_array[1..-1])
19
+ else
20
+ raise ArgumentError, "Message#error expects a String or Array"
21
+ end
22
+ end
23
+
24
+ def self.prettify( array )
25
+ array.map do |a|
26
+ case a
27
+ when Hash then a.inspect
28
+ when ActiveRecord::Base then a.class.name
29
+ else
30
+ a.inspect
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,15 @@
1
+ module RspecRailsMatchers
2
+ module Validations
3
+ autoload :PresenceOf, 'rspec_rails_matchers/validations/presence_of'
4
+ autoload :NumericalityOf, 'rspec_rails_matchers/validations/numericality_of'
5
+ autoload :LengthOf, 'rspec_rails_matchers/validations/length_of'
6
+ autoload :UniquenessOf, 'rspec_rails_matchers/validations/uniqueness_of'
7
+ autoload :ConfirmationOf, 'rspec_rails_matchers/validations/confirmation_of'
8
+
9
+ include PresenceOf
10
+ include NumericalityOf
11
+ include LengthOf
12
+ include UniquenessOf
13
+ include ConfirmationOf
14
+ end
15
+ end
@@ -0,0 +1,27 @@
1
+ module RspecRailsMatchers
2
+ module Validations
3
+ module ConfirmationOf
4
+ def validate_confirmation_of(attribute)
5
+ Rspec::Matchers::Matcher.new :validate_confirmation_of, attribute do |_attr_|
6
+ match do |model|
7
+ if model.respond_to?("#{_attr_}_confirmation=")
8
+ model.send("#{_attr_}=", 'asdf')
9
+ model.send("#{_attr_}_confirmation=", 'asdfg')
10
+
11
+ model.invalid? &&
12
+ model.errors[_attr_].include?(
13
+ I18n::t('errors.messages.confirmation')
14
+ )
15
+ end
16
+ end
17
+
18
+ failure_message_for_should do |model|
19
+ RspecRailsMatchers::Message.error(
20
+ :expected => [ "%s to validate confirmation of %s", model, _attr_ ]
21
+ )
22
+ end
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -0,0 +1,66 @@
1
+ module RspecRailsMatchers
2
+ module Validations
3
+ module LengthOf
4
+ def validate_length_of(attribute, options)
5
+ options.assert_valid_keys( :within, :minimum, :maximum )
6
+
7
+ min, max = min_max_for(options)
8
+
9
+ Rspec::Matchers::Matcher.new :validate_length_of, attribute do |_attribute_|
10
+ match do |model|
11
+ validates_minimum?(model, min, _attribute_) &&
12
+ validates_maximum?(model, max, _attribute_)
13
+ end
14
+
15
+ failure_message_for_should do |model|
16
+ RspecRailsMatchers::Message.error(
17
+ :expected =>
18
+ [ "%s to validate length of %s, %s", model, _attribute_, options ]
19
+ )
20
+ end
21
+
22
+
23
+ def validates_minimum?( model, min, attr )
24
+ return true if not min
25
+
26
+ if min && min >= 1
27
+ model.send("#{attr}=", 'a' * (min - 1))
28
+
29
+ model.invalid? &&
30
+ model.errors[attr].include?(
31
+ I18n::t('errors.messages.too_short', :count => min)
32
+ )
33
+ end
34
+ end
35
+
36
+ def validates_maximum?( model, max, attr )
37
+ return true if not max
38
+
39
+ if max
40
+ model.send("#{attr}=", 'a' * (max + 1))
41
+
42
+ model.invalid? &&
43
+ model.errors[attr].include?(
44
+ I18n::t('errors.messages.too_long', :count => max)
45
+ )
46
+ end
47
+ end
48
+ end
49
+ end
50
+
51
+ private
52
+ def min_max_for( options )
53
+ if options.has_key? :within
54
+ min = options[:within].first
55
+ max = options[:within].last
56
+ elsif options.has_key? :minimum
57
+ min = options[:minimum]
58
+ elsif options.has_key? :maximum
59
+ max = options[:maximum]
60
+ end
61
+
62
+ return min, max
63
+ end
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,41 @@
1
+ module RspecRailsMatchers
2
+ module Validations
3
+ module NumericalityOf
4
+ def validate_numericality_of( attribute, options = {} )
5
+ Rspec::Matchers::Matcher.new :validate_numericality_of, attribute do |_attr_|
6
+ match do |model|
7
+ invalid_on_non_numeric?(model, _attr_) &&
8
+ (options[:allow_blank] == true ?
9
+ invalid_on_blank?(model, _attr_) : true
10
+ )
11
+ end
12
+
13
+ failure_message_for_should do |model|
14
+ RspecRailsMatchers::Message.error(
15
+ :expected =>
16
+ [ "%s to validate numericality of %s, %s", model, _attr_, options ]
17
+ )
18
+ end
19
+
20
+ def invalid_on_non_numeric?( model, attr )
21
+ model.send("#{attr}=", 'abcd')
22
+ model.invalid? &&
23
+ model.errors[attr].include?(
24
+ I18n::t('errors.messages.not_a_number')
25
+ )
26
+ end
27
+
28
+ def invalid_on_blank?( model, attr )
29
+ model.send("#{attr}=", nil)
30
+ model.valid?
31
+
32
+ !model.errors[attr].include?(
33
+ I18n::t('errors.messages.not_a_number')
34
+ )
35
+ end
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
41
+
@@ -0,0 +1,20 @@
1
+ module RspecRailsMatchers
2
+ module Validations
3
+ module PresenceOf
4
+ def validate_presence_of(attribute)
5
+ Rspec::Matchers::Matcher.new :validate_presence_of, attribute do |_attr_|
6
+ match do |model|
7
+ model.send("#{_attr_}=", nil)
8
+ model.invalid? && model.errors[_attr_].any?
9
+ end
10
+
11
+ failure_message_for_should do |model|
12
+ RspecRailsMatchers::Message.error(
13
+ :expected => [ "%s to validate presence of %s", model, _attr_ ]
14
+ )
15
+ end
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,38 @@
1
+ module RspecRailsMatchers
2
+ module Validations
3
+ module UniquenessOf
4
+ def validate_uniqueness_of(attribute, options = {})
5
+ Rspec::Matchers::Matcher.new :validate_uniqueness_of, attribute do |_attr_|
6
+ match do |model|
7
+ duplicate = create_duplicate_record(model, _attr_, options[:scope])
8
+
9
+ if options[:scope]
10
+ model.send("#{options[:scope]}=", duplicate.send(options[:scope]))
11
+ end
12
+
13
+ model.send("#{_attr_}=", "foobar")
14
+
15
+ model.invalid? &&
16
+ model.errors[_attr_].include?(
17
+ I18n::t('activerecord.errors.messages.taken')
18
+ )
19
+ end
20
+
21
+ failure_message_for_should do |model|
22
+ RspecRailsMatchers::Message.error(
23
+ :expected =>
24
+ [ "%s to validate uniqueness of %s, %s", model, _attr_, options ]
25
+ )
26
+ end
27
+
28
+ def create_duplicate_record( model, attr, scope )
29
+ m = model.class.new(attr => 'foobar')
30
+ m.send("#{scope}=", 11) if scope
31
+ m.save(:validate => false)
32
+ m
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,61 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{rspec-rails-matchers}
8
+ s.version = "0.1.1"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Cyril David"]
12
+ s.date = %q{2010-02-26}
13
+ s.description = %q{Helps you write rspec with rails for fun}
14
+ s.email = %q{cyx.ucron@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "lib/rspec-rails-matchers.rb",
27
+ "lib/rspec_rails_matchers/associations.rb",
28
+ "lib/rspec_rails_matchers/associations/belong_to.rb",
29
+ "lib/rspec_rails_matchers/associations/have_and_belong_to_many.rb",
30
+ "lib/rspec_rails_matchers/associations/have_many.rb",
31
+ "lib/rspec_rails_matchers/associations/have_one.rb",
32
+ "lib/rspec_rails_matchers/associations/helpers.rb",
33
+ "lib/rspec_rails_matchers/message.rb",
34
+ "lib/rspec_rails_matchers/validations.rb",
35
+ "lib/rspec_rails_matchers/validations/confirmation_of.rb",
36
+ "lib/rspec_rails_matchers/validations/length_of.rb",
37
+ "lib/rspec_rails_matchers/validations/numericality_of.rb",
38
+ "lib/rspec_rails_matchers/validations/presence_of.rb",
39
+ "lib/rspec_rails_matchers/validations/uniqueness_of.rb",
40
+ "rspec-rails-matchers.gemspec"
41
+ ]
42
+ s.homepage = %q{http://github.com/cyx/rspec-rails-matchers}
43
+ s.rdoc_options = ["--charset=UTF-8"]
44
+ s.require_paths = ["lib"]
45
+ s.rubygems_version = %q{1.3.6}
46
+ s.summary = %q{Rspec 2.0 only rails matchers}
47
+
48
+ if s.respond_to? :specification_version then
49
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
+ s.specification_version = 3
51
+
52
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
53
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
54
+ else
55
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
56
+ end
57
+ else
58
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
59
+ end
60
+ end
61
+
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rspec-rails-matchers
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 1
9
+ version: 0.1.1
10
+ platform: ruby
11
+ authors:
12
+ - Cyril David
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-02-26 00:00:00 +08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rspec
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 2
30
+ - 9
31
+ version: 1.2.9
32
+ type: :development
33
+ version_requirements: *id001
34
+ description: Helps you write rspec with rails for fun
35
+ email: cyx.ucron@gmail.com
36
+ executables: []
37
+
38
+ extensions: []
39
+
40
+ extra_rdoc_files:
41
+ - LICENSE
42
+ - README.rdoc
43
+ files:
44
+ - .document
45
+ - .gitignore
46
+ - LICENSE
47
+ - README.rdoc
48
+ - Rakefile
49
+ - VERSION
50
+ - lib/rspec-rails-matchers.rb
51
+ - lib/rspec_rails_matchers/associations.rb
52
+ - lib/rspec_rails_matchers/associations/belong_to.rb
53
+ - lib/rspec_rails_matchers/associations/have_and_belong_to_many.rb
54
+ - lib/rspec_rails_matchers/associations/have_many.rb
55
+ - lib/rspec_rails_matchers/associations/have_one.rb
56
+ - lib/rspec_rails_matchers/associations/helpers.rb
57
+ - lib/rspec_rails_matchers/message.rb
58
+ - lib/rspec_rails_matchers/validations.rb
59
+ - lib/rspec_rails_matchers/validations/confirmation_of.rb
60
+ - lib/rspec_rails_matchers/validations/length_of.rb
61
+ - lib/rspec_rails_matchers/validations/numericality_of.rb
62
+ - lib/rspec_rails_matchers/validations/presence_of.rb
63
+ - lib/rspec_rails_matchers/validations/uniqueness_of.rb
64
+ - rspec-rails-matchers.gemspec
65
+ has_rdoc: true
66
+ homepage: http://github.com/cyx/rspec-rails-matchers
67
+ licenses: []
68
+
69
+ post_install_message:
70
+ rdoc_options:
71
+ - --charset=UTF-8
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ segments:
79
+ - 0
80
+ version: "0"
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ segments:
86
+ - 0
87
+ version: "0"
88
+ requirements: []
89
+
90
+ rubyforge_project:
91
+ rubygems_version: 1.3.6
92
+ signing_key:
93
+ specification_version: 3
94
+ summary: Rspec 2.0 only rails matchers
95
+ test_files: []
96
+