Permalink
Browse files

RSpec's be_* matchers did not work in 0.3.9 and probably earlier vers…

…ions. Now they do. Release 0.3.9.1
  • Loading branch information...
1 parent b3f4198 commit c6faec5e6d28c235e5d02e323332217af363a1d0 @aslakhellesoy aslakhellesoy committed May 27, 2009
Showing with 12 additions and 5 deletions.
  1. +5 −0 History.txt
  2. +1 −1 cucumber.gemspec
  3. +5 −3 lib/cucumber/rails/rspec.rb
  4. +1 −1 lib/cucumber/version.rb
View
5 History.txt
@@ -1,3 +1,8 @@
+== 0.3.10 (In Git)
+
+=== Bugfixes
+* RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy)
+
== 0.3.9 2009-05-27
Bugfix release for 0.3.8 released earlier today. 0.3.8 had a bug in the Rails cucumber
View
2 cucumber.gemspec
@@ -2,7 +2,7 @@
Gem::Specification.new do |s|
s.name = %q{cucumber}
- s.version = "0.3.9"
+ s.version = "0.3.9.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Aslak Helles\303\270y"]
View
8 lib/cucumber/rails/rspec.rb
@@ -2,7 +2,9 @@
require 'spec/expectations'
require 'spec/rails/matchers'
-Cucumber::Rails::World.class_eval do
- include Spec::Matchers
- include Spec::Rails::Matchers
+[Cucumber::Rails::World, ActionController::Integration::Session].each do |klass|
+ klass.class_eval do
+ include Spec::Matchers
+ include Spec::Rails::Matchers
+ end
end
View
2 lib/cucumber/version.rb
@@ -3,7 +3,7 @@ class VERSION #:nodoc:
MAJOR = 0
MINOR = 3
TINY = 9
- PATCH = nil # Set to nil for official release
+ PATCH = 1 # Set to nil for official release
STRING = [MAJOR, MINOR, TINY, PATCH].compact.join('.')
end

0 comments on commit c6faec5

Please sign in to comment.