Sha256: 50537befb961ccbfd43a4baa5b5498ca1a0a36bcb2096290f38ab2271369a003

Contents?: true

Size: 566 Bytes

Versions: 4

Compression:

Stored size: 566 Bytes

Contents

require File.dirname(__FILE__) + '/../../../test/test_helper'
require File.dirname(__FILE__) + '/../../spec_helper'
require 'admin/textfilters_controller'

# Re-raise errors caught by the controller.
class Admin::TextfiltersController; def rescue_action(e) raise e end; end

describe Admin::TextfiltersController do

  integrate_views

  before do
    request.session = { :user => users(:tobi).id }
  end

  describe 'macro help action' do

    it 'should render success' do
      get 'macro_help', :id => 'code'
      response.should be_success
    end

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typo-5.1.98 spec/controllers/admin/textfilters_controller_spec.rb
typo-5.2 spec/controllers/admin/textfilters_controller_spec.rb
typo-5.2.98 spec/controllers/admin/textfilters_controller_spec.rb
typo-5.3 spec/controllers/admin/textfilters_controller_spec.rb