Sha256: bf829d4e30095bfd2eb8fd68b865a7231e42bd887940a14c83cc12e06c149d30
Contents?: true
Size: 599 Bytes
Versions: 8
Compression:
Stored size: 599 Bytes
Contents
require 'test_helper' class TestControllerTest < ActionController::TestCase test "should respond to bibtex" do get :test, :format => "bibtex", :use_route => :test assert_response :success end test "should respond to bib" do get :test, :format => "bib", :use_route => :test assert_response :success end test "should respond to ris" do get :test, :format => "ris", :use_route => :test assert_response :success end test "should not respond to arbitrary format" do get :test, :format => "csf", :use_route => :test assert_response :not_acceptable end end
Version data entries
8 entries across 8 versions & 1 rubygems