enginex 0.5.4 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ require "rails/generators"
7
7
  require "rails/generators/rails/app/app_generator"
8
8
 
9
9
  class Enginex < Thor::Group
10
- VERSION = "0.5.4".freeze
10
+ VERSION = "0.6.0".freeze
11
11
 
12
12
  include Thor::Actions
13
13
  check_unknown_options!
@@ -1,8 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class NagivationTest < ActiveSupport::TestCase
4
- include Capybara
5
-
3
+ class NagivationTest < ActiveSupport::IntegrationCase
6
4
  test "truth" do
7
5
  assert_kind_of Dummy::Application, Rails.application
8
6
  end
@@ -0,0 +1,5 @@
1
+ # Define a bare test case to use with Capybara
2
+ class ActiveSupport::IntegrationCase < ActiveSupport::TestCase
3
+ include Capybara
4
+ include Rails.application.routes.url_helpers
5
+ end
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 5
8
- - 4
9
- version: 0.5.4
7
+ - 6
8
+ - 0
9
+ version: 0.6.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Jos\xC3\xA9 Valim"
@@ -98,6 +98,7 @@ files:
98
98
  - lib/templates/spec/spec_helper.rb
99
99
  - lib/templates/test/%underscored%_test.rb.tt
100
100
  - lib/templates/test/integration/navigation_test.rb.tt
101
+ - lib/templates/test/support/integration_case.rb
101
102
  - lib/templates/test/test_helper.rb
102
103
  has_rdoc: true
103
104
  homepage: http://github.com/josevalim/enginex