[rspec-users] Integration testing without cucumber

drewB dbatshaw at gmail.com
Mon Mar 1 17:59:56 EST 2010


Belwo is a spec that when used with the default spec_helper fails
with:

NoMethodError in 'test matchers should be able to find be_success'
undefined method `be_success' for
#<ActionController::Integration::Session:0x7fc081ef13e0>

----------

require 'spec_helper'

describe "test matchers" do
  it "should be able to find be_success" do
    get '/'
    response.should be_success
  end

end

-------------


More information about the rspec-users mailing list