Sha256: 87446c93ce0011b71e2ff3f560cc0dedd4a0d144079f1bd2fcf327b8e775a20b
Contents?: true
Size: 335 Bytes
Versions: 66
Compression:
Stored size: 335 Bytes
Contents
require 'spec_helper' describe WelcomeController do render_views before(:each) do @root = FactoryGirl.create(:structure_main) end it "should render index action" do get :index assigns(:structure).should == @root response.should be_success response.should render_template('index') end end
Version data entries
66 entries across 45 versions & 2 rubygems