On Mon, Mar 1, 2010 at 4:59 PM, drewB <dbats...@gmail.com> wrote: > 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
Try adding this to spec/spec_helper.rb Spec::Runner.configure {|c| c.include Spec::Matchers} _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users