Sha256: fe2e0eb71c3fb6e7d381d363bee73d719be1bfecdcc69eb50ff709f9beed3b2b

Contents?: true

Size: 391 Bytes

Versions: 1

Compression:

Stored size: 391 Bytes

Contents

require 'test_helper'

class Admin::OrangesControllerTest < ActionController::TestCase
  def setup
    @controller = Admin::OrangesController.new
  end

  describe 'GET custom #index' do
    it 'should be successful' do
      get :index
      assert_response :success
    end
  end

  describe "GET CEO's #new" do
    it 'should break' do
      assert_raises { get :new }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ceo-0.2.0 test/controllers/admin/oranges_controller_test.rb