Sha256: e92088b9b65765dda6853dd415569d757a19452b0409a19e1319c6a53ddafe60

Contents?: true

Size: 263 Bytes

Versions: 22

Compression:

Stored size: 263 Bytes

Contents

require 'test_helper'

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
shipit-engine-0.5.2 test/controllers/status_controller_test.rb
shipit-engine-0.5.1 test/controllers/status_controller_test.rb
shipit-engine-0.5.0 test/controllers/status_controller_test.rb
shipit-engine-0.4.10 test/controllers/status_controller_test.rb
shipit-engine-0.4.9 test/controllers/status_controller_test.rb
shipit-engine-0.4.8 test/controllers/status_controller_test.rb
shipit-engine-0.4.7 test/controllers/status_controller_test.rb
shipit-engine-0.4.6 test/controllers/status_controller_test.rb
shipit-engine-0.4.5 test/controllers/status_controller_test.rb
shipit-engine-0.4.4 test/controllers/status_controller_test.rb
shipit-engine-0.4.3 test/controllers/status_controller_test.rb
shipit-engine-0.4.2 test/controllers/status_controller_test.rb
shipit-engine-0.4.1 test/controllers/status_controller_test.rb
shipit-engine-0.4.0 test/controllers/status_controller_test.rb
shipit-engine-0.3.1 test/controllers/status_controller_test.rb
shipit-engine-0.3.0 test/controllers/status_controller_test.rb
shipit-engine-0.2.3 test/controllers/status_controller_test.rb
shipit-engine-0.2.2 test/controllers/status_controller_test.rb
shipit-engine-0.2.1 test/controllers/status_controller_test.rb
shipit-engine-0.2.0 test/controllers/status_controller_test.rb