Sha256: 11d00ef9c4ba5121da938f8d203d12119b2c70320abd6b2749693ea423bf8c24

Contents?: true

Size: 447 Bytes

Versions: 8

Compression:

Stored size: 447 Bytes

Contents

require 'test_helper'

module TechRadar
  class RadarControllerTest < ActionController::TestCase
    setup do
      @routes = Engine.routes
    end

    test "parent app can override messages" do
      get :index
      assert_response :success
      assert response.body =~ /FOOBAR/, "expected #{response.body} to include FOOBAR"
    end

    test "the radar summary screen" do
      get :summary
      assert_response :success
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
tech_radar-0.6.0 test/controllers/tech_radar/radar_controller_test.rb
tech_radar-0.5.0 test/controllers/tech_radar/radar_controller_test.rb
tech_radar-0.4.0 test/controllers/tech_radar/radar_controller_test.rb
tech_radar-0.3.0 test/controllers/tech_radar/radar_controller_test.rb
tech_radar-0.2.1 test/controllers/tech_radar/radar_controller_test.rb
tech_radar-0.2.0 test/controllers/tech_radar/radar_controller_test.rb
tech_radar-0.1.0 test/controllers/tech_radar/radar_controller_test.rb
tech_radar-0.0.1 test/controllers/tech_radar/radar_controller_test.rb