Sha256: 95e3fc80889ac12b373b15fe4adb4c0fe41bc31ed806689d6e014f14e7da32be
Contents?: true
Size: 619 Bytes
Versions: 1
Compression:
Stored size: 619 Bytes
Contents
require 'test_helper' class TestControllerTest < ActionController::TestCase # test "should respond to bibtex" do # get :test, :format => "bibtex" # assert_response :success # end # test "should respond to bib" do # get :test, :format => "bib" # assert_response :success # end # test "should respond to ris" do # get :test, :format => "ris" # assert_response :success # end # test "should not respond to arbitrary format" do # assert_raise ActionController::UnknownFormat do # get :test, :format => "bugaboo" # assert_response :not_acceptable # end # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_citable-4.0.0 | test/dummy/test/functional/test_controller_test.rb |