My model has
def self.empty_building // stuff end How can I rspec for this existing?, have tried:
describe "empty_building" do subject { Building.new } it { should respond_to :empty_building } end but getting : Failure/Error: it { should respond_to :empty_building } expected #<Building id: nil, district_id: nil, name: nil, direct: nil, created_at: nil, updated_at: nil> to respond to :empty_building