##// END OF EJS Templates
Merged r14118 from trunk to 3.0-stable...
Merged r14118 from trunk to 3.0-stable Gemfile: remove "ffi" ffi 1.9.7 building error is fixed. https://github.com/ffi/ffi/issues/414#issuecomment-81405252 r14118 comment has typo, problem version is not 1.9.6, it is 1.9.7. git-svn-id: http://svn.redmine.org/redmine/branches/3.0-stable@14126 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13510:d85f73a30d48
r13744:fee5faa9b8c6
Show More
issue_statuses_test.rb
32 lines | 1.3 KiB | text/x-ruby | RubyLexer
# Redmine - project management software
# Copyright (C) 2006-2015 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
require File.expand_path('../../../test_helper', __FILE__)
class Redmine::ApiTest::IssueStatusesTest < Redmine::ApiTest::Base
fixtures :issue_statuses
test "GET /issue_statuses.xml should return issue statuses" do
get '/issue_statuses.xml'
assert_response :success
assert_equal 'application/xml', @response.content_type
assert_select 'issue_statuses[type=array] issue_status id', :text => '2' do
assert_select '~ name', :text => 'Assigned'
end
end
end