Sha256: f85c6379ef417161b10c894e16fecaa811ced9a466c33d55a439f25aa1619a2b

Contents?: true

Size: 449 Bytes

Versions: 7

Compression:

Stored size: 449 Bytes

Contents

require 'wagn/spec_helper'

describe AdminController, "admin functions" do
  before do
    Account.as_bot do
      Card.search(:type => Card::UserID).each do |card|
        card.destroy
      end
    end
  end

  it "should setup be ready to setup" do
    post :setup, :account => {:email=>'admin@joe'}
  end

  it "should clear cache" do
    get :clear_cache
  end

  it "should show cache" do
    get :read, :id=>"A", :view=>:show_cache
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wagn-1.12.13 spec/controllers/admin_controller_spec.rb
wagn-1.12.12 spec/controllers/admin_controller_spec.rb
wagn-1.12.11 spec/controllers/admin_controller_spec.rb
wagn-1.12.10 spec/controllers/admin_controller_spec.rb
wagn-1.12.9 spec/controllers/admin_controller_spec.rb
wagn-1.12.8 spec/controllers/admin_controller_spec.rb
wagn-1.12.7 spec/controllers/admin_controller_spec.rb