Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


I could have fixed the bug on rspec I reported. #13

wants to merge 1 commit into from

3 participants


Hi David,

I could have fixed the bug on rspec I reported here:
I'm not sure if it's proper way to fix it or not, but it works for those explained in my report except the ControllerSpec one.
The ControllerSpec one might have a different reason because it's still indicating the same error on the test.

Anyway, please take a look at this patch, and if you agree with my update, please pull it.

Thank you,


Clicking on the link to the report gets me a 404. What was the issue?


The link Nori posted has some extra characters. This is the correct one:

@dchelimsky dchelimsky was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 14, 2011
  1. @norisuke3
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/spec/example/subject.rb
2  lib/spec/example/subject.rb
@@ -21,7 +21,7 @@ def subject(&block)
def its(attribute, &block)
- describe(attribute) do
+ describe(instance_eval(&subject)) do
example do
self.class.class_eval do
define_method(:subject) do
Something went wrong with that request. Please try again.