Sha256: de81134a84b77f9607563ba83ceb8e77601cb76725056381474b3d1260395183
Contents?: true
Size: 401 Bytes
Versions: 1
Compression:
Stored size: 401 Bytes
Contents
require 'spec_helper' describe Popolo::MembershipsController do before :each do @routes = Popolo::Engine.routes @membership = FactoryGirl.create :membership end describe 'GET show' do it 'assigns the requested membership as @membership' do get :show, id: @membership.id.to_s assigns(:membership).should == @membership 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/memberships_controller_spec.rb |