When running: rake spec:models everything works well, but when I do rspec spec/models/spot_spec.rb that has Spot.stub! :test1 , I get: undefined method `stub!' for Spot:Class The error happens only when I include that stub! line. Any ideas how to avoid it? I want to run the specs for a specific model only. Update: Using Ruby 1.9.2 and RSpec 2.4.0, here is the spot_spec.rb code: require File.expand

