Sha256: 94cbd1dd64720662dc138f2695e1a5b714957bfd31077ac4b5c3efa5b406d216

Contents?: true

Size: 503 Bytes

Versions: 3

Compression:

Stored size: 503 Bytes

Contents

# encoding: UTF-8

require File.join(File.expand_path(File.dirname(__FILE__)), '../test_helper')
require 'iqvoc/rdfapi' # XXX: only required with Zeus

class RoutingTest < ActionController::TestCase

  setup do
    @controller = LabelsController.new
    @label = Iqvoc::XLLabel.base_class.create :value => "foo",
        :language => "en", :published_at => Time.now
  end

  test "routing" do
    get :show, :lang => "en", :format => "html", :id => @label.origin
    assert_response :success
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
iqvoc_skosxl-2.3.1 test/functional/routing_test.rb
iqvoc_skosxl-2.3.0 test/functional/routing_test.rb
iqvoc_skosxl-2.1.0 test/functional/routing_test.rb