Sha256: 2c4035f6659d2d16832d2cc5dd7d899a031b2d05700dd43aa411451d90dd5b04

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

require 'test_helper'

module Plotline
  class DashboardControllerTest < ActionController::TestCase
    setup do
      @routes = Engine.routes
      Plotline::DashboardController.any_instance.stubs(:current_user).returns(User.new)
    end

    test "should get index" do
      get :index
      assert_response :success
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
plotline-0.1.1 test/controllers/plotline/dashboard_controller_test.rb
plotline-0.1.0 test/controllers/plotline/dashboard_controller_test.rb