Sha256: d1d7b369b3f9faff668ca22b7701a7d776d4a288c1e642dd53c907764f997267

Contents?: true

Size: 383 Bytes

Versions: 7

Compression:

Stored size: 383 Bytes

Contents

require 'test_helper'

class DocsControllerTest < ActiveSupport::IntegrationCase
  test 'renders index' do
    visit oauth_docs_path
    assert_equal '/oauth_docs', current_path
  end

  test 'renders show' do
    [:curl, :oauth, :quick_start].each do |doc|
      doc_path = oauth_doc_path(:id => doc)
      visit doc_path
      assert_equal doc_path, current_path
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
opro-0.3.0.pre1 test/integration/docs_controller_test.rb
opro-0.3.0.pre test/integration/docs_controller_test.rb
opro-0.2.1.pre test/integration/docs_controller_test.rb
opro-0.2.0 test/integration/docs_controller_test.rb
opro-0.1.0 test/integration/docs_controller_test.rb
opro-0.0.3 test/integration/docs_controller_test.rb
opro-0.0.2 test/integration/docs_controller_test.rb