Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit c6faec5e6d28c235e5d02e323332217af363a1d0 1 parent b3f4198
Aslak Hellesøy aslakhellesoy authored
5 History.txt
View
@@ -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
2  cucumber.gemspec
View
@@ -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"]
8 lib/cucumber/rails/rspec.rb
View
@@ -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
2  lib/cucumber/version.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.