Sha256: a707a06c42573018ce75188efcb158c9eb382bf1cad7bd9c6477ea3e6a36ea5c
Contents?: true
Size: 258 Bytes
Versions: 36
Compression:
Stored size: 258 Bytes
Contents
def mock_login @current_blogger = User.first || create(:user) controller.expects(:current_user).at_least_once.returns(@current_blogger) end def reset_configuration Blogit.configure do |config| config.current_blogger_method = :current_user end end
Version data entries
36 entries across 36 versions & 2 rubygems