Skip to content

Commit

Permalink
Clean up users controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaryCBaylis committed Apr 18, 2015
1 parent 81f45e1 commit b776e11
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/controllers/users_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
let!(:user) { User.create!(email: Faker::Internet.email, name: Faker::Name.name, password: "catcatcat", interests: Faker::Lorem.sentence, skills: Faker::Lorem.sentence, twitter_handle: Faker::Lorem.word, description: Faker::Lorem.paragraph)}

before do
puts user
sign_in user
end

describe "GET show" do
it "assigns a user as @user" do
#puts User.find_by(name: user.name).name
get :show, {id: user.id}
expect(assigns(:user)).to be_a(User)
end
Expand Down

0 comments on commit b776e11

Please sign in to comment.