Sha256: 9b46ff0f1cd12d4841369341b310757f9bdd332abb703720806686cf656bcfe0
Contents?: true
Size: 790 Bytes
Versions: 2
Compression:
Stored size: 790 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe ProfilesController do render_views context "for a user" do before do @user = Factory(:user) end it "should render show" do get :show, :user_id => @user.to_param assert_response :success end it "should render edit" do pending get :edit, :user_id => @user.to_param assert_response :success end end context "for a group" do before do @group = Factory(:group) end it "should render show" do get :show, :group_id => @group.to_param assert_response :success end it "should render edit" do pending get :edit, :group_id => @group.to_param assert_response :success end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.4.1 | spec/controllers/profiles_controller_spec.rb |
social_stream-0.4.0 | spec/controllers/profiles_controller_spec.rb |