Sha256: 155c84763237bc150c696418b51c3ed2d8941736b1412da73134834211dabc51
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
require 'spec_helper' describe Popolo::PeopleController do before :each do @routes = Popolo::Engine.routes @person = FactoryGirl.create :person end describe 'GET show' do it 'assigns the requested person as @person' do get :show, id: @person.id.to_s assigns(:person).should == @person response.should be_success end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
popolo-0.0.3 | spec/controllers/popolo/people_controller_spec.rb |