Sha256: a409cbe88eaa3c8b990e8b736d9eed0c9da21d6e9d70b75cf24c5e71794e7ee9
Contents?: true
Size: 416 Bytes
Versions: 5
Compression:
Stored size: 416 Bytes
Contents
require 'spec_helper' describe PropertiesController do render_views it 'shows all properties on index' do property = create :property get :index response.should be_ok assigns(:properties).should == [property] end it 'shows a single property' do property = create :property get :show, id: property.id response.should be_ok assigns(:property).should == property end end
Version data entries
5 entries across 5 versions & 1 rubygems