Sha256: 3f0be3a247ccadfcc49ac9a4d854cf8cfdc3e849074dc9860e70ff0ba9e54d76
Contents?: true
Size: 333 Bytes
Versions: 3
Compression:
Stored size: 333 Bytes
Contents
# coding: utf-8 require 'spec_helper' describe UsersController do let(:user) { User.create!(name: 'akiinyo') } describe 'me' do before { post :create, user: {id: user.id, name: user.name} } specify 'meが正しく設定されていること' do controller.me.name.should == 'akiinyo' end end end
Version data entries
3 entries across 3 versions & 1 rubygems