Sha256: 8cb5c9928b6132f1aeffa021dc3b8f2c8a4fb0036a237c437ccba2b5842cd343

Contents?: true

Size: 327 Bytes

Versions: 10

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true
require 'test_helper'

module Shipit
  class StatusControllerTest < ActionController::TestCase
    test ":version returns Shipit.revision" do
      Shipit.expects(:revision).returns('foo')
      get :version
      assert_response :success
      assert_equal 'foo', response.body
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shipit-engine-0.39.0 test/controllers/status_controller_test.rb
shipit-engine-0.38.0 test/controllers/status_controller_test.rb
shipit-engine-0.37.0 test/controllers/status_controller_test.rb
shipit-engine-0.36.1 test/controllers/status_controller_test.rb
shipit-engine-0.36.0 test/controllers/status_controller_test.rb
shipit-engine-0.35.1 test/controllers/status_controller_test.rb
shipit-engine-0.35.0 test/controllers/status_controller_test.rb
shipit-engine-0.34.0 test/controllers/status_controller_test.rb
shipit-engine-0.33.0 test/controllers/status_controller_test.rb
shipit-engine-0.32.0 test/controllers/status_controller_test.rb