Sha256: 72b7d93a8405a4ddbcc7ae3f8dcc7981e8adb54c316cf45e5f082157b04e6965

Contents?: true

Size: 575 Bytes

Versions: 19

Compression:

Stored size: 575 Bytes

Contents

require "spec_helper"

# TODO: Find out how to spec routes in a Mounted engine :S
describe PostsController do
  describe "routing" do
    
    before do
      Blogit.configuration.include_admin_actions = true
    end

    describe "when Blogit.configuration.include_admin_actions is true" do

      before do
        Blogit.configuration.include_admin_actions = true
      end
      
    end

    describe "when Blogit.configuration.include_admin_actions is false" do

      before do
        Blogit.configuration.include_admin_actions = false 
      end

    end

  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
blogit-0.4.5 spec/routing/post_routing_spec.rb
blogit-0.4.4 spec/routing/post_routing_spec.rb
blogit-0.4.3 spec/routing/post_routing_spec.rb
blogit-0.4.2 spec/routing/post_routing_spec.rb
blogit-0.4.1 spec/routing/post_routing_spec.rb
blogit-0.4.0 spec/routing/post_routing_spec.rb
blogit-0.3.2 spec/routing/post_routing_spec.rb
blogit-0.3.1 spec/routing/post_routing_spec.rb
blogit-0.3.0 spec/routing/post_routing_spec.rb
blogit-0.2.1 spec/routing/post_routing_spec.rb
blogit-0.2.0 spec/routing/post_routing_spec.rb
blogit-0.1.0 spec/routing/post_routing_spec.rb
blogit-0.0.13 spec/routing/post_routing_spec.rb
blogit-0.0.12 spec/routing/post_routing_spec.rb
blogit-0.0.11 spec/routing/post_routing_spec.rb
blogit-0.0.10 spec/routing/post_routing_spec.rb
blogit-0.0.9 spec/routing/post_routing_spec.rb
blogit-0.0.8 spec/routing/post_routing_spec.rb
blogit-0.0.7 spec/routing/post_routing_spec.rb