Sha256: 249603493ecd0f12caf00e7eb2fe034a0c450f492af3d15d679be0772f3016f9

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe ActiveAdmin, "Routing" do
  
  subject { Admin::PostsController.new }

  it { should respond_to(:admin_posts_path) }
  it { should respond_to(:admin_post_path) }
  it { should respond_to(:new_admin_post_path) }
  it { should respond_to(:edit_admin_post_path) }

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-0.1.1 spec/unit/routing_spec.rb
activeadmin-0.1.0 spec/unit/routing_spec.rb