Sha256: 5ae64f052f2e37bef43b6ad63c662d08afee0f9d3856754d0415f2fb16312a12

Contents?: true

Size: 447 Bytes

Versions: 3

Compression:

Stored size: 447 Bytes

Contents

require 'rails_helper'

module Theblog
  describe Admin::PostsController, type: :controller do
    routes { Theblog::Engine.routes }

    let(:account) { FactoryGirl.create(:confirmed_account) }
    let(:content_node) { FactoryGirl.create(:post) }
    let(:content_node_key) { :post }

    before { sign_in account }

    it_behaves_like :admin_content_nodes_controller_update
    it_behaves_like :admin_content_nodes_controller_create

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
theblog-0.0.2.3 spec/controllers/theblog/admin/posts_controller_spec.rb
theblog-0.0.2.2 spec/controllers/theblog/admin/posts_controller_spec.rb
theblog-0.0.2 spec/controllers/theblog/admin/posts_controller_spec.rb