Sha256: 0220f94e0b194cdb9e62cbc3aa168f55431ccba232c2ce3f51b217ef3aafa74c

Contents?: true

Size: 886 Bytes

Versions: 23

Compression:

Stored size: 886 Bytes

Contents

require 'test_helper_dummy'

module IntegrationTests
  extend ActiveSupport::Concern
  included do

    fixtures :all

    it 'works' do
      get root_path
      status.must_equal 200
    end

    it 'works with assert_routing' do
      assert_routing '/', :controller => 'application', :action => 'index'
    end

    it 'can find the app' do
      app.must_be_instance_of Dummy::Application
    end

    describe 'nested 1' do

      it('works') { skip }

      it 'can find the app' do
        app.must_be_instance_of Dummy::Application
      end

      describe 'nested 2' do

        it('works') { skip }

      end

    end
    
  end
end

class IntegrationTest < ActionDispatch::IntegrationTest
  include IntegrationTests
end

class AppTest < ActionDispatch::IntegrationTest
  def test_homepage
    assert_routing '/', :controller => 'application', :action => 'index'
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
minitest-spec-rails-4.7.11 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.4.0 test/dummy_tests/integration_test.rb
minitest-spec-rails-4.7.10 test/dummy_tests/integration_test.rb
minitest-spec-rails-4.7.9 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.3.0 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.2.2 test/dummy_tests/integration_test.rb
minitest-spec-rails-4.7.8 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.2.0 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.1.1 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.1.0 test/dummy_tests/integration_test.rb
minitest-spec-rails-orangejulius-5.0.5.pre.orangejulius test/dummy_tests/integration_test.rb
minitest-spec-rails-orangejulius-5.0.4.pre.orangejulius test/dummy_tests/integration_test.rb
minitest-spec-rails-4.7.7 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.0.4 test/dummy_tests/integration_test.rb
minitest-spec-rails-orangejulius-5.0.3.pre.orangejulius test/dummy_tests/integration_test.rb
minitest-spec-rails-5.0.3 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.0.2 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.0.1 test/dummy_tests/integration_test.rb
minitest-spec-rails-4.7.6 test/dummy_tests/integration_test.rb
minitest-spec-rails-5.0.0 test/dummy_tests/integration_test.rb