main
1require 'spec_helper'
2
3describe NeighbourhoodsController do
4 describe :index do
5 it "should load each neighbourhood" do
6 neighbourhood = Neighbourhood.create!(:name => 'sunnyside', :status => "red")
7 get :index
8 assigns(:neighbourhoods).should include(neighbourhood)
9 end
10 end
11end