I don't get the stack level too deep but I do get
undefined method `last_response' for
#
Which was supposed to be fixed ages ago.
So did one fix break another?
I have webrat using :rack config
rspec 2.2.0, rspec-rails 2.2.0, webrat 0.7.2, rails 3.0.3
It looks to me like the webrat rack adapt
Ok adding
include Rack::Test::Methods
to my spec_helper changed the error to
Failure/Error: visit "/"
No response yet. Request a page first.
# /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-
test-0.5.6/lib/rack/mock_session.rb:51:in `last_response'
# /opt/ruby-
On Nov 28, 2010, at 4:35 PM, David Chelimsky wrote:
> ### rspec-core-2.2.0
>
>
> * Performance improvments (see
> [Upgrade.markdown](https://github.com/rspec/rspec-core/blob/master/Upgrade.markdown))
Wow, the perf improvements are *much* appreciated!
My test suite (MRI 1.9.2p0) with 3300 ex
Thanks David,
I actually had a "require" statement in my code for Test Unit that
shouldn't have been there - the problem appears to not have been rspec
related at all.
Thanks!
James
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing l
On Nov 29, 2010, at 8:04 AM, Chuck Remes wrote:
>
> On Nov 28, 2010, at 4:35 PM, David Chelimsky wrote:
>
>> ### rspec-core-2.2.0
>>
>>
>> * Performance improvments (see
>> [Upgrade.markdown](https://github.com/rspec/rspec-core/blob/master/Upgrade.markdown))
>
> Wow, the perf improvements ar
On Nov 29, 2010, at 4:58 AM, Jim Morris wrote:
> Ok adding
>
> include Rack::Test::Methods
>
> to my spec_helper changed the error to
>
>Failure/Error: visit "/"
> No response yet. Request a page first.
> # /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rack-
> test-0.5.6
Cheers, very insightful. I liked your point about ease of testing
having an inherent value.
On Nov 25, 12:22 pm, David Chelimsky wrote:
> On Wed, Nov 17, 2010 at 12:49 PM, Jack Kinsella
> wrote:
> > Hi,
>
> > In Rails 3 you deliver a mail message with the
> > ActionMailerModel.method.deliver sy
### rspec-core-2.2.1 / 2010-11-28
[full changelog](http://github.com/rspec/rspec-core/compare/v2.2.0...master)
* Bug fixes
* alias_method instead of override Kernel#method_missing (John Wilger)
* changed --autotest to --tty in generated command (MIKAMI Yoshiyuki)
* revert change to debugge
BGTW the spec is very simple...
require 'spec_helper'
describe "Logins" do
describe "GET /login" do
it "should be able to login" do
get "/login"
p response.body
end
end
end
the undefined method `last_response' for
#
comes from the p response.body
On Nov 29, 7:18 am, Dav
Sorry I may have been unclear
When using the default spec_helper as generated from a fresh
script/rails generate rspec:install
I get the error...
undefined method `last_response' for
#
This means something is not seeing the Rack Test stuff.
The second error is got when I add
include Rack::
In a method named logo in my application helper, I reference an application
controller method (current_account) that has been marked as a helper method
with the following syntax:
helper_method :current_account
When I test out the setup in the browser (without rspec), rails is happy with
this
On Nov 29, 2010, at 3:28 PM, Jim Morris wrote:
> Sorry I may have been unclear
>
> When using the default spec_helper as generated from a fresh
> script/rails generate rspec:install
> I get the error...
>
> undefined method `last_response' for
> #
>
> This means something is not seeing the
On Nov 29, 2010, at 4:44 PM, David Chelimsky wrote:
>
> On Nov 29, 2010, at 3:28 PM, Jim Morris wrote:
>
>> Sorry I may have been unclear
>>
>> When using the default spec_helper as generated from a fresh
>> script/rails generate rspec:install
>> I get the error...
>>
>> undefined method
On Nov 25, 5:03 am, Evgeniy Dolzhenko wrote:
> https://rails.lighthouseapp.com/projects/8994/tickets/5805-assert_rec...
> anyone?
>
>
I appreciate the reply. Given that these routing constraints are core
to my application do you have any suggestions as to how to test this
in the meantime? It makes
Hi David,
I am using the current versions of everything rspec
rspec (2.2.0,)
rspec-core (2.2.1)
rspec-expectations (2.2.0)
rspec-mocks (2.2.0,)
rspec-rails (2.2.0)
webrat (0.7.2)
rails(3.0.3)
webrat is in Gemfile...
group :test, :development do
gem 'webrat'
gem 'rspec-rails'
end
My spec is
15 matches
Mail list logo