Sha256: c92b501c845cb94b97321c85385f4e360574f7fc15b58388fb6467619c26cd53

Contents?: true

Size: 297 Bytes

Versions: 46

Compression:

Stored size: 297 Bytes

Contents

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

46 entries across 46 versions & 1 rubygems

Version Path
shipit-engine-0.31.0 test/controllers/status_controller_test.rb
shipit-engine-0.30.0 test/controllers/status_controller_test.rb
shipit-engine-0.29.0 test/controllers/status_controller_test.rb
shipit-engine-0.28.1 test/controllers/status_controller_test.rb
shipit-engine-0.28.0 test/controllers/status_controller_test.rb
shipit-engine-0.27.1 test/controllers/status_controller_test.rb
shipit-engine-0.27.0 test/controllers/status_controller_test.rb
shipit-engine-0.26.0 test/controllers/status_controller_test.rb
shipit-engine-0.25.1 test/controllers/status_controller_test.rb
shipit-engine-0.25.0 test/controllers/status_controller_test.rb
shipit-engine-0.24.0 test/controllers/status_controller_test.rb
shipit-engine-0.23.1 test/controllers/status_controller_test.rb
shipit-engine-0.23.0 test/controllers/status_controller_test.rb
shipit-engine-0.22.0 test/controllers/status_controller_test.rb
shipit-engine-0.21.0 test/controllers/status_controller_test.rb
shipit-engine-0.20.1 test/controllers/status_controller_test.rb
shipit-engine-0.20.0 test/controllers/status_controller_test.rb
shipit-engine-0.19.0 test/controllers/status_controller_test.rb
shipit-engine-0.18.1 test/controllers/status_controller_test.rb
shipit-engine-0.18.0 test/controllers/status_controller_test.rb