2017-02-23から1日間の記事一覧

Rspecでcurrent_userのスタブを作ってrequire_loginをパスする - Qiita

Rspecでcurrent_userのスタブを作ってrequire_loginをパスする - Qiita

testing - rspec controller test with devise authentication - Stack Overflow

testing - rspec controller test with devise authentication - Stack Overflow

undefined method `authenticate!' for nil:NilClass?でテストが失敗する場合の対処方法 - Qiita

config.include Devise::TestHelpers, :type => :controller

2017年02月23日のツイート

window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.paren…