Sha256: 643b6fc6a179b76174910be6c418ef53afc9089acb0a8633fce69b39ec6712bb

Contents?: true

Size: 363 Bytes

Versions: 15

Compression:

Stored size: 363 Bytes

Contents

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

describe Admin::ExportController do
  dataset :users_and_pages
  
  before :each do
    login_as :developer
  end
  
  it "should export a YAML file" do
    get :yaml
    response.should be_success
    response.content_type.should == "text/yaml"
    YAML.load(response.body).should be_kind_of(Hash)
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

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