Sha256: 1e198d5d87d17156562d70d05aded1904376190ef569dea49f3049f3f3927841

Contents?: true

Size: 347 Bytes

Versions: 16

Compression:

Stored size: 347 Bytes

Contents

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

describe Admin::ReferencesController do
  dataset :users
  
  before :each do
    login_as :existing
  end
  
  it "should render the associated template on GET to show" do
    xhr :get, :show, :id => 'tags'
    response.should be_success
    response.should render_template('tags')
  end
end

Version data entries

16 entries across 16 versions & 3 rubygems

Version Path
radiantcms-couchrest_model-0.2.4 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.2.2 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.2.1 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.2 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.1.9 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.1.8 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.1.7 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.1.6 spec/controllers/admin/references_controller_spec.rb
radiantcms-couchrest_model-0.1.5 spec/controllers/admin/references_controller_spec.rb
radiant-0.7.2 spec/controllers/admin/references_controller_spec.rb
radiant-0.8.2 spec/controllers/admin/references_controller_spec.rb
radiant-rc-0.9.0 spec/controllers/admin/references_controller_spec.rb
radiant-0.8.1 spec/controllers/admin/references_controller_spec.rb
radiant-0.7.0 spec/controllers/admin/references_controller_spec.rb
radiant-0.8.0 spec/controllers/admin/references_controller_spec.rb
radiant-0.7.1 spec/controllers/admin/references_controller_spec.rb