netzke-testing 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -0
  3. data/README.md +11 -2
  4. data/app/controllers/netzke/{netzke/testing_controller.rb → testing_controller.rb} +0 -0
  5. data/lib/netzke/testing/version.rb +1 -1
  6. data/netzke-testing.gemspec +3 -0
  7. data/{test/dummy → spec/rails_app}/README.rdoc +0 -0
  8. data/{test/dummy → spec/rails_app}/Rakefile +1 -1
  9. data/{test/dummy → spec/rails_app}/app/assets/images/.keep +0 -0
  10. data/{test/dummy → spec/rails_app}/app/assets/javascripts/application.js +3 -0
  11. data/{test/dummy → spec/rails_app}/app/assets/stylesheets/application.css +0 -0
  12. data/{test/dummy → spec/rails_app}/app/components/foo.rb +0 -0
  13. data/{test/dummy → spec/rails_app}/app/controllers/application_controller.rb +0 -0
  14. data/{test/dummy → spec/rails_app}/app/controllers/concerns/.keep +0 -0
  15. data/{test/dummy → spec/rails_app}/app/helpers/application_helper.rb +0 -0
  16. data/{test/dummy → spec/rails_app}/app/mailers/.keep +0 -0
  17. data/{test/dummy → spec/rails_app}/app/models/.keep +0 -0
  18. data/{test/dummy → spec/rails_app}/app/models/concerns/.keep +0 -0
  19. data/{test/dummy → spec/rails_app}/app/views/layouts/application.html.erb +1 -1
  20. data/{test/dummy → spec/rails_app}/bin/bundle +0 -0
  21. data/{test/dummy → spec/rails_app}/bin/rails +0 -0
  22. data/{test/dummy → spec/rails_app}/bin/rake +0 -0
  23. data/{test/dummy → spec/rails_app}/config.ru +0 -0
  24. data/{test/dummy → spec/rails_app}/config/application.rb +5 -4
  25. data/{test/dummy → spec/rails_app}/config/boot.rb +0 -0
  26. data/{test/dummy → spec/rails_app}/config/database.yml +0 -0
  27. data/{test/dummy → spec/rails_app}/config/environment.rb +1 -1
  28. data/{test/dummy → spec/rails_app}/config/environments/development.rb +7 -1
  29. data/{test/dummy → spec/rails_app}/config/environments/production.rb +1 -1
  30. data/{test/dummy → spec/rails_app}/config/environments/test.rb +2 -2
  31. data/{test/dummy → spec/rails_app}/config/initializers/backtrace_silencers.rb +0 -0
  32. data/{test/dummy → spec/rails_app}/config/initializers/filter_parameter_logging.rb +0 -0
  33. data/{test/dummy → spec/rails_app}/config/initializers/inflections.rb +0 -0
  34. data/{test/dummy → spec/rails_app}/config/initializers/mime_types.rb +0 -0
  35. data/{test/dummy → spec/rails_app}/config/initializers/secret_token.rb +1 -1
  36. data/spec/rails_app/config/initializers/session_store.rb +3 -0
  37. data/{test/dummy → spec/rails_app}/config/initializers/wrap_parameters.rb +0 -0
  38. data/{test/dummy → spec/rails_app}/config/locales/en.yml +0 -0
  39. data/spec/rails_app/config/routes.rb +3 -0
  40. data/{test/dummy/lib/assets/.keep → spec/rails_app/db/development.sqlite3} +0 -0
  41. data/spec/rails_app/db/seeds.rb +7 -0
  42. data/{test/dummy/log → spec/rails_app/lib/assets}/.keep +0 -0
  43. data/{test/dummy/public/favicon.ico → spec/rails_app/lib/tasks/.keep} +0 -0
  44. data/spec/rails_app/log/.keep +0 -0
  45. data/{test/dummy → spec/rails_app}/public/404.html +0 -0
  46. data/{test/dummy → spec/rails_app}/public/422.html +0 -0
  47. data/{test/dummy → spec/rails_app}/public/500.html +0 -0
  48. data/spec/rails_app/public/favicon.ico +0 -0
  49. data/spec/rails_app/public/robots.txt +5 -0
  50. data/spec/spec_helper.rb +44 -0
  51. data/spec/testing_controller_spec.rb +8 -0
  52. metadata +135 -93
  53. data/test/controllers/netzke_testing_controller_test.rb +0 -9
  54. data/test/dummy/config/initializers/session_store.rb +0 -3
  55. data/test/dummy/config/routes.rb +0 -58
  56. data/test/dummy/spec/javascripts/foo.js.coffee +0 -3
  57. data/test/helpers/netzke_testing_helper_test.rb +0 -4
  58. data/test/integration/navigation_test.rb +0 -10
  59. data/test/netzke_testing_test.rb +0 -7
  60. data/test/test_helper.rb +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6a8e145a80cbd76fe5872a58d199b5c0c3f6002
4
- data.tar.gz: e7bef8a910494ec36fc1d4979f01f990bb1baac7
3
+ metadata.gz: b2f147065edf1276d30dfba903bc05f54dbf0720
4
+ data.tar.gz: 65575135cbe59ceb6315fd05dee8e49f6bf5b63d
5
5
  SHA512:
6
- metadata.gz: ecb548ed750a7cdaa03b3a8eb517524c220de8f4a0bc8f845a5a34ad8425773afdb3c8c595633d5d5d240752d2d827b8f3c825ebe06dfe972ed906b622acc3a2
7
- data.tar.gz: 8db04d54ff7ebbd9c731297c783dc02ff7a2faea022512bdef617b49b01ef339ea22dc99cd23528c40641e2693db5b4c422a53bfdd105eefafcb1fc6e086d422
6
+ metadata.gz: 938b6591d4291148e65d4d746483116345f793b6b7f7749d9fd271ccd7a997270f71e8b7738a96b03d981a6b17ba0fdbe3731d8dec1d6abed6ea4167529f4366
7
+ data.tar.gz: dec776f456dd4a33d00ad9989dec8b6579cefc6b5a818f787efb8e0be68ebc359d225aa3594c1365ebf6dcc47bf050354bc990e6e50fb309f330cb287b83ca0e
data/Gemfile CHANGED
@@ -2,3 +2,9 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in netzke-testing.gemspec
4
4
  gemspec
5
+
6
+ gem 'netzke-core', path: '../netzke-core'
7
+
8
+ group :test do
9
+ gem 'capybara'
10
+ end
data/README.md CHANGED
@@ -57,14 +57,23 @@ The gem provides a number of helpers that may help you writing less code and mak
57
57
  expectToSee header 'Empty'
58
58
  done()
59
59
 
60
+ In order to enable these helpers, add the following line somewhere in your `RSpec.configure` block:
61
+
62
+ RSpec.configure do |config|
63
+ Netzke::Testing.rspec_init(config)
64
+ # ...
65
+ end
66
+
60
67
  Keep in mind the following:
61
68
 
62
69
  * the current set of helpers is in flux, and may be drastically changed sooner than you may expect
63
70
  * the helpers directly pollute the `window` namespace; if you decide you're better off without provided helpers,
64
71
  specify 'no-helpers=true' as an extra URL parameter
65
72
 
66
- See the [source code](TODO) for currently implemented helpers. Also, refer to other Netzke gems source code (like
67
- netzke-core and netzke-basepack) to see examples using the helpers.
73
+ See the [source
74
+ code](https://github.com/netzke/netzke-testing/tree/master/app/assets/javascripts/netzke/testing/helpers) for currently
75
+ implemented helpers (TODO: document them). Also, refer to other Netzke gems source code (like netzke-core and
76
+ netzke-basepack) to see examples using the helpers.
68
77
 
69
78
  ## Testing with selenium webdriver
70
79
 
@@ -1,5 +1,5 @@
1
1
  module Netzke
2
2
  module Testing
3
- VERSION = "0.9.0"
3
+ VERSION = "0.9.1"
4
4
  end
5
5
  end
@@ -20,4 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "rails"
24
+ spec.add_development_dependency "rspec-rails"
25
+ spec.add_development_dependency "coffee-script"
23
26
  end
@@ -3,4 +3,4 @@
3
3
 
4
4
  require File.expand_path('../config/application', __FILE__)
5
5
 
6
- Dummy::Application.load_tasks
6
+ RailsApp::Application.load_tasks
@@ -10,4 +10,7 @@
10
10
  // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
12
12
  //
13
+ //= require jquery
14
+ //= require jquery_ujs
15
+ //= require turbolinks
13
16
  //= require_tree .
@@ -1,7 +1,7 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>Dummy</title>
4
+ <title>RailsApp</title>
5
5
  <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
6
6
  <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
7
7
  <%= csrf_meta_tags %>
File without changes
File without changes
File without changes
@@ -3,10 +3,12 @@ require File.expand_path('../boot', __FILE__)
3
3
  require "action_controller/railtie"
4
4
  require "sprockets/railtie"
5
5
 
6
- Bundler.require(*Rails.groups)
7
- require "netzke_testing"
6
+ # Require the gems listed in Gemfile, including any gems
7
+ # you've limited to :test, :development, or :production.
8
+ Bundler.require(:default, Rails.env)
9
+ require "netzke/testing"
8
10
 
9
- module Dummy
11
+ module RailsApp
10
12
  class Application < Rails::Application
11
13
  # Settings in config/environments/* take precedence over those specified here.
12
14
  # Application configuration should go into files in config/initializers
@@ -21,4 +23,3 @@ module Dummy
21
23
  # config.i18n.default_locale = :de
22
24
  end
23
25
  end
24
-
@@ -2,4 +2,4 @@
2
2
  require File.expand_path('../application', __FILE__)
3
3
 
4
4
  # Initialize the Rails application.
5
- Dummy::Application.initialize!
5
+ RailsApp::Application.initialize!
@@ -1,4 +1,4 @@
1
- Dummy::Application.configure do
1
+ RailsApp::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # In the development environment your application's code is reloaded on
@@ -13,9 +13,15 @@ Dummy::Application.configure do
13
13
  config.consider_all_requests_local = true
14
14
  config.action_controller.perform_caching = false
15
15
 
16
+ # Don't care if the mailer can't send.
17
+ # config.action_mailer.raise_delivery_errors = false
18
+
16
19
  # Print deprecation notices to the Rails logger.
17
20
  config.active_support.deprecation = :log
18
21
 
22
+ # Raise an error on page load if there are pending migrations
23
+ # config.active_record.migration_error = :page_load
24
+
19
25
  # Debug mode disables concatenation and preprocessing of assets.
20
26
  # This option may cause significant delays in view rendering with a large
21
27
  # number of complex assets.
@@ -1,4 +1,4 @@
1
- Dummy::Application.configure do
1
+ RailsApp::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # Code is not reloaded between requests.
@@ -1,4 +1,4 @@
1
- Dummy::Application.configure do
1
+ RailsApp::Application.configure do
2
2
  # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # The test environment is used exclusively to run your application's
@@ -29,7 +29,7 @@ Dummy::Application.configure do
29
29
  # Tell Action Mailer not to deliver emails to the real world.
30
30
  # The :test delivery method accumulates sent emails in the
31
31
  # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
32
+ # config.action_mailer.delivery_method = :test
33
33
 
34
34
  # Print deprecation notices to the stderr.
35
35
  config.active_support.deprecation = :stderr
@@ -9,4 +9,4 @@
9
9
 
10
10
  # Make sure your secret_key_base is kept private
11
11
  # if you're sharing your code publicly.
12
- Dummy::Application.config.secret_key_base = '1acbb2f36c9fe4d05c19fff3ef7403683f1a3acdbdb557ff07720add3b0a23e9c3193f9eaa6c58ea4e0ad2472ec92dc5f0c4dfcf46a1c42742741cbc4d35a30a'
12
+ RailsApp::Application.config.secret_key_base = '5d0797785cb8b23c9656b01d77f2296275565682b4d185d2772c4d6d55a6da98a07210befebe36610acbe235af09cafd445ac623536430cb6f0eb8e62dbb0467'
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ RailsApp::Application.config.session_store :cookie_store, key: '_rails_app_session'
@@ -0,0 +1,3 @@
1
+ RailsApp::Application.routes.draw do
2
+ netzke
3
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
File without changes
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
@@ -0,0 +1,44 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require File.expand_path("../rails_app/config/environment", __FILE__)
4
+ require 'rspec/rails'
5
+ require 'rspec/autorun'
6
+
7
+ # Requires supporting ruby files with custom matchers and macros, etc,
8
+ # in spec/support/ and its subdirectories.
9
+ Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
10
+
11
+ # Checks for pending migrations before tests are run.
12
+ # If you are not using ActiveRecord, you can remove this line.
13
+ ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)
14
+
15
+ RSpec.configure do |config|
16
+ require 'capybara/rspec'
17
+ require 'capybara/rails'
18
+ # ## Mock Framework
19
+ #
20
+ # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
21
+ #
22
+ # config.mock_with :mocha
23
+ # config.mock_with :flexmock
24
+ # config.mock_with :rr
25
+
26
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
27
+ # config.fixture_path = "#{::Rails.root}/spec/fixtures"
28
+
29
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
30
+ # examples within a transaction, remove the following line or assign false
31
+ # instead of true.
32
+ # config.use_transactional_fixtures = true
33
+
34
+ # If true, the base class of anonymous controllers will be inferred
35
+ # automatically. This will be the default behavior in future versions of
36
+ # rspec-rails.
37
+ config.infer_base_class_for_anonymous_controllers = false
38
+
39
+ # Run specs in random order to surface order dependencies. If you find an
40
+ # order dependency and want to debug it, you can fix the order by providing
41
+ # the seed, which is printed after each run.
42
+ # --seed 1234
43
+ config.order = "random"
44
+ end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+
3
+ feature Netzke::TestingController do
4
+ it 'renders Netzke components specified in the URL' do
5
+ visit '/netzke/components/Foo'
6
+ page.should have_selector "#foo-netzke"
7
+ end
8
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netzke-testing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Gorin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-28 00:00:00.000000000 Z
11
+ date: 2013-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,6 +38,48 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: coffee-script
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
41
83
  description: Provides help with developing and testing Netzke components
42
84
  email:
43
85
  - gorinme@gmail.com
@@ -60,7 +102,7 @@ files:
60
102
  - app/assets/vendor/javascripts/mocha/mocha.js
61
103
  - app/assets/vendor/stylesheets/mocha/mocha.css
62
104
  - app/controllers/.keep
63
- - app/controllers/netzke/netzke/testing_controller.rb
105
+ - app/controllers/netzke/testing_controller.rb
64
106
  - app/helpers/.keep
65
107
  - app/helpers/netzke_testing_helper.rb
66
108
  - app/mailers/.keep
@@ -75,51 +117,51 @@ files:
75
117
  - lib/netzke/testing/helpers.rb
76
118
  - lib/netzke/testing/version.rb
77
119
  - netzke-testing.gemspec
78
- - test/controllers/netzke_testing_controller_test.rb
79
- - test/dummy/README.rdoc
80
- - test/dummy/Rakefile
81
- - test/dummy/app/assets/images/.keep
82
- - test/dummy/app/assets/javascripts/application.js
83
- - test/dummy/app/assets/stylesheets/application.css
84
- - test/dummy/app/components/foo.rb
85
- - test/dummy/app/controllers/application_controller.rb
86
- - test/dummy/app/controllers/concerns/.keep
87
- - test/dummy/app/helpers/application_helper.rb
88
- - test/dummy/app/mailers/.keep
89
- - test/dummy/app/models/.keep
90
- - test/dummy/app/models/concerns/.keep
91
- - test/dummy/app/views/layouts/application.html.erb
92
- - test/dummy/bin/bundle
93
- - test/dummy/bin/rails
94
- - test/dummy/bin/rake
95
- - test/dummy/config.ru
96
- - test/dummy/config/application.rb
97
- - test/dummy/config/boot.rb
98
- - test/dummy/config/database.yml
99
- - test/dummy/config/environment.rb
100
- - test/dummy/config/environments/development.rb
101
- - test/dummy/config/environments/production.rb
102
- - test/dummy/config/environments/test.rb
103
- - test/dummy/config/initializers/backtrace_silencers.rb
104
- - test/dummy/config/initializers/filter_parameter_logging.rb
105
- - test/dummy/config/initializers/inflections.rb
106
- - test/dummy/config/initializers/mime_types.rb
107
- - test/dummy/config/initializers/secret_token.rb
108
- - test/dummy/config/initializers/session_store.rb
109
- - test/dummy/config/initializers/wrap_parameters.rb
110
- - test/dummy/config/locales/en.yml
111
- - test/dummy/config/routes.rb
112
- - test/dummy/lib/assets/.keep
113
- - test/dummy/log/.keep
114
- - test/dummy/public/404.html
115
- - test/dummy/public/422.html
116
- - test/dummy/public/500.html
117
- - test/dummy/public/favicon.ico
118
- - test/dummy/spec/javascripts/foo.js.coffee
119
- - test/helpers/netzke_testing_helper_test.rb
120
- - test/integration/navigation_test.rb
121
- - test/netzke_testing_test.rb
122
- - test/test_helper.rb
120
+ - spec/rails_app/README.rdoc
121
+ - spec/rails_app/Rakefile
122
+ - spec/rails_app/app/assets/images/.keep
123
+ - spec/rails_app/app/assets/javascripts/application.js
124
+ - spec/rails_app/app/assets/stylesheets/application.css
125
+ - spec/rails_app/app/components/foo.rb
126
+ - spec/rails_app/app/controllers/application_controller.rb
127
+ - spec/rails_app/app/controllers/concerns/.keep
128
+ - spec/rails_app/app/helpers/application_helper.rb
129
+ - spec/rails_app/app/mailers/.keep
130
+ - spec/rails_app/app/models/.keep
131
+ - spec/rails_app/app/models/concerns/.keep
132
+ - spec/rails_app/app/views/layouts/application.html.erb
133
+ - spec/rails_app/bin/bundle
134
+ - spec/rails_app/bin/rails
135
+ - spec/rails_app/bin/rake
136
+ - spec/rails_app/config.ru
137
+ - spec/rails_app/config/application.rb
138
+ - spec/rails_app/config/boot.rb
139
+ - spec/rails_app/config/database.yml
140
+ - spec/rails_app/config/environment.rb
141
+ - spec/rails_app/config/environments/development.rb
142
+ - spec/rails_app/config/environments/production.rb
143
+ - spec/rails_app/config/environments/test.rb
144
+ - spec/rails_app/config/initializers/backtrace_silencers.rb
145
+ - spec/rails_app/config/initializers/filter_parameter_logging.rb
146
+ - spec/rails_app/config/initializers/inflections.rb
147
+ - spec/rails_app/config/initializers/mime_types.rb
148
+ - spec/rails_app/config/initializers/secret_token.rb
149
+ - spec/rails_app/config/initializers/session_store.rb
150
+ - spec/rails_app/config/initializers/wrap_parameters.rb
151
+ - spec/rails_app/config/locales/en.yml
152
+ - spec/rails_app/config/routes.rb
153
+ - spec/rails_app/db/development.sqlite3
154
+ - spec/rails_app/db/seeds.rb
155
+ - spec/rails_app/lib/assets/.keep
156
+ - spec/rails_app/lib/tasks/.keep
157
+ - spec/rails_app/log/.keep
158
+ - spec/rails_app/public/404.html
159
+ - spec/rails_app/public/422.html
160
+ - spec/rails_app/public/500.html
161
+ - spec/rails_app/public/favicon.ico
162
+ - spec/rails_app/public/robots.txt
163
+ - spec/spec_helper.rb
164
+ - spec/testing_controller_spec.rb
123
165
  homepage: http://netzke.org
124
166
  licenses:
125
167
  - MIT
@@ -145,49 +187,49 @@ signing_key:
145
187
  specification_version: 4
146
188
  summary: Testing helpers for Netzke applications and gems
147
189
  test_files:
148
- - test/controllers/netzke_testing_controller_test.rb
149
- - test/dummy/README.rdoc
150
- - test/dummy/Rakefile
151
- - test/dummy/app/assets/images/.keep
152
- - test/dummy/app/assets/javascripts/application.js
153
- - test/dummy/app/assets/stylesheets/application.css
154
- - test/dummy/app/components/foo.rb
155
- - test/dummy/app/controllers/application_controller.rb
156
- - test/dummy/app/controllers/concerns/.keep
157
- - test/dummy/app/helpers/application_helper.rb
158
- - test/dummy/app/mailers/.keep
159
- - test/dummy/app/models/.keep
160
- - test/dummy/app/models/concerns/.keep
161
- - test/dummy/app/views/layouts/application.html.erb
162
- - test/dummy/bin/bundle
163
- - test/dummy/bin/rails
164
- - test/dummy/bin/rake
165
- - test/dummy/config.ru
166
- - test/dummy/config/application.rb
167
- - test/dummy/config/boot.rb
168
- - test/dummy/config/database.yml
169
- - test/dummy/config/environment.rb
170
- - test/dummy/config/environments/development.rb
171
- - test/dummy/config/environments/production.rb
172
- - test/dummy/config/environments/test.rb
173
- - test/dummy/config/initializers/backtrace_silencers.rb
174
- - test/dummy/config/initializers/filter_parameter_logging.rb
175
- - test/dummy/config/initializers/inflections.rb
176
- - test/dummy/config/initializers/mime_types.rb
177
- - test/dummy/config/initializers/secret_token.rb
178
- - test/dummy/config/initializers/session_store.rb
179
- - test/dummy/config/initializers/wrap_parameters.rb
180
- - test/dummy/config/locales/en.yml
181
- - test/dummy/config/routes.rb
182
- - test/dummy/lib/assets/.keep
183
- - test/dummy/log/.keep
184
- - test/dummy/public/404.html
185
- - test/dummy/public/422.html
186
- - test/dummy/public/500.html
187
- - test/dummy/public/favicon.ico
188
- - test/dummy/spec/javascripts/foo.js.coffee
189
- - test/helpers/netzke_testing_helper_test.rb
190
- - test/integration/navigation_test.rb
191
- - test/netzke_testing_test.rb
192
- - test/test_helper.rb
190
+ - spec/rails_app/README.rdoc
191
+ - spec/rails_app/Rakefile
192
+ - spec/rails_app/app/assets/images/.keep
193
+ - spec/rails_app/app/assets/javascripts/application.js
194
+ - spec/rails_app/app/assets/stylesheets/application.css
195
+ - spec/rails_app/app/components/foo.rb
196
+ - spec/rails_app/app/controllers/application_controller.rb
197
+ - spec/rails_app/app/controllers/concerns/.keep
198
+ - spec/rails_app/app/helpers/application_helper.rb
199
+ - spec/rails_app/app/mailers/.keep
200
+ - spec/rails_app/app/models/.keep
201
+ - spec/rails_app/app/models/concerns/.keep
202
+ - spec/rails_app/app/views/layouts/application.html.erb
203
+ - spec/rails_app/bin/bundle
204
+ - spec/rails_app/bin/rails
205
+ - spec/rails_app/bin/rake
206
+ - spec/rails_app/config.ru
207
+ - spec/rails_app/config/application.rb
208
+ - spec/rails_app/config/boot.rb
209
+ - spec/rails_app/config/database.yml
210
+ - spec/rails_app/config/environment.rb
211
+ - spec/rails_app/config/environments/development.rb
212
+ - spec/rails_app/config/environments/production.rb
213
+ - spec/rails_app/config/environments/test.rb
214
+ - spec/rails_app/config/initializers/backtrace_silencers.rb
215
+ - spec/rails_app/config/initializers/filter_parameter_logging.rb
216
+ - spec/rails_app/config/initializers/inflections.rb
217
+ - spec/rails_app/config/initializers/mime_types.rb
218
+ - spec/rails_app/config/initializers/secret_token.rb
219
+ - spec/rails_app/config/initializers/session_store.rb
220
+ - spec/rails_app/config/initializers/wrap_parameters.rb
221
+ - spec/rails_app/config/locales/en.yml
222
+ - spec/rails_app/config/routes.rb
223
+ - spec/rails_app/db/development.sqlite3
224
+ - spec/rails_app/db/seeds.rb
225
+ - spec/rails_app/lib/assets/.keep
226
+ - spec/rails_app/lib/tasks/.keep
227
+ - spec/rails_app/log/.keep
228
+ - spec/rails_app/public/404.html
229
+ - spec/rails_app/public/422.html
230
+ - spec/rails_app/public/500.html
231
+ - spec/rails_app/public/favicon.ico
232
+ - spec/rails_app/public/robots.txt
233
+ - spec/spec_helper.rb
234
+ - spec/testing_controller_spec.rb
193
235
  has_rdoc:
@@ -1,9 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NetzkeTestingControllerTest < ActionController::TestCase
4
- test "should get index" do
5
- get :index
6
- assert_response :success
7
- end
8
-
9
- end
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,58 +0,0 @@
1
- Dummy::Application.routes.draw do
2
- # The priority is based upon order of creation: first created -> highest priority.
3
- # See how all your routes lay out with "rake routes".
4
-
5
- # You can have the root of your site routed with "root"
6
- # root 'welcome#index'
7
-
8
- # Example of regular route:
9
- # get 'products/:id' => 'catalog#view'
10
-
11
- # Example of named route that can be invoked with purchase_url(id: product.id)
12
- # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
-
14
- # Example resource route (maps HTTP verbs to controller actions automatically):
15
- # resources :products
16
-
17
- # Example resource route with options:
18
- # resources :products do
19
- # member do
20
- # get 'short'
21
- # post 'toggle'
22
- # end
23
- #
24
- # collection do
25
- # get 'sold'
26
- # end
27
- # end
28
-
29
- # Example resource route with sub-resources:
30
- # resources :products do
31
- # resources :comments, :sales
32
- # resource :seller
33
- # end
34
-
35
- # Example resource route with more complex sub-resources:
36
- # resources :products do
37
- # resources :comments
38
- # resources :sales do
39
- # get 'recent', on: :collection
40
- # end
41
- # end
42
-
43
- # Example resource route with concerns:
44
- # concern :toggleable do
45
- # post 'toggle'
46
- # end
47
- # resources :posts, concerns: :toggleable
48
- # resources :photos, concerns: :toggleable
49
-
50
- # Example resource route within a namespace:
51
- # namespace :admin do
52
- # # Directs /admin/products/* to Admin::ProductsController
53
- # # (app/controllers/admin/products_controller.rb)
54
- # resources :products
55
- # end
56
-
57
- netzke
58
- end
@@ -1,3 +0,0 @@
1
- describe 'Foo', ->
2
- it 'should display proper header', ->
3
- expect(Ext.ComponentQuery.query('panel[id="foo"]')[0].getHeader().title).to.eql 'Test component'
@@ -1,4 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NetzkeTestingHelperTest < ActionView::TestCase
4
- end
@@ -1,10 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NavigationTest < ActionDispatch::IntegrationTest
4
- fixtures :all
5
-
6
- # test "the truth" do
7
- # assert true
8
- # end
9
- end
10
-
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class NetzkeTestingTest < ActiveSupport::TestCase
4
- test "truth" do
5
- assert_kind_of Module, NetzkeTesting
6
- end
7
- end
@@ -1,15 +0,0 @@
1
- # Configure Rails Environment
2
- ENV["RAILS_ENV"] = "test"
3
-
4
- require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
- require "rails/test_help"
6
-
7
- Rails.backtrace_cleaner.remove_silencers!
8
-
9
- # Load support files
10
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
-
12
- # Load fixtures from the engine
13
- if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
- ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
- end