Sha256: fbacb07732ea27486946e0f5305c6627cba520c64028a19f980ad64635468dd7
Contents?: true
Size: 268 Bytes
Versions: 12
Compression:
Stored size: 268 Bytes
Contents
require 'test_controller' class TagsControllerTest < TestController tests Admin::TagsController test 'can create a new tag' do log_in! post :create, post_id: Post.published.last, tag: {name: 'A new tag'} assert_redirected_to '/admin/tags' end end
Version data entries
12 entries across 12 versions & 1 rubygems