magic_lamp 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +202 -0
- data/README.md +104 -0
- data/lib/magic_lamp.rb +50 -0
- data/lib/magic_lamp/fixture_creator.rb +53 -0
- data/lib/magic_lamp/version.rb +3 -0
- data/lib/tasks/magic_lamp_tasks.rb +44 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/orders_controller.rb +58 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/helpers/orders_helper.rb +2 -0
- data/spec/dummy/app/models/order.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/orders/_form.html.erb +17 -0
- data/spec/dummy/app/views/orders/edit.html.erb +6 -0
- data/spec/dummy/app/views/orders/foo.html.erb +1 -0
- data/spec/dummy/app/views/orders/index.html.erb +23 -0
- data/spec/dummy/app/views/orders/new.html.erb +5 -0
- data/spec/dummy/app/views/orders/show.html.erb +4 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +23 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +83 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/migrate/20140623002513_create_orders.rb +8 -0
- data/spec/dummy/db/schema.rb +21 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1 -0
- data/spec/dummy/log/test.log +17988 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/spec/magic_lamp.rb +4 -0
- data/spec/dummy/spec/magic_lamp/foo/foo_lamp.rb +1 -0
- data/spec/dummy/spec/magic_lamp/rake/rake_lamp.rb +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/integration/integration_spec.rb +21 -0
- data/spec/lib/fixture_creator_spec.rb +142 -0
- data/spec/lib/magic_lamp_spec.rb +98 -0
- data/spec/rails_helper.rb +53 -0
- data/spec/spec_helper.rb +78 -0
- data/spec/tasks/magic_lamp_tasks_spec.rb +34 -0
- metadata +257 -0
@@ -0,0 +1,53 @@
|
|
1
|
+
# This file is copied to spec/ when you run "rails generate rspec:install"
|
2
|
+
ENV["RAILS_ENV"] ||= "test"
|
3
|
+
require "spec_helper"
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rspec/rails"
|
6
|
+
|
7
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
8
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
9
|
+
# run as spec files by default. This means that files in spec/support that end
|
10
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
11
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
12
|
+
# end with _spec.rb. You can configure this pattern with with the --pattern
|
13
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
14
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
15
|
+
|
16
|
+
# Checks for pending migrations before tests are run.
|
17
|
+
# If you are not using ActiveRecord, you can remove this line.
|
18
|
+
ActiveRecord::Migration.maintain_test_schema!
|
19
|
+
|
20
|
+
Rails.application.load_tasks
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
24
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
25
|
+
|
26
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
27
|
+
# examples within a transaction, remove the following line or assign false
|
28
|
+
# instead of true.
|
29
|
+
config.use_transactional_fixtures = true
|
30
|
+
|
31
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
32
|
+
# based on their file location, for example enabling you to call `get` and
|
33
|
+
# `post` in specs under `spec/controllers`.
|
34
|
+
#
|
35
|
+
# You can disable this behaviour by removing the line below, and instead
|
36
|
+
# explicitly tag your specs with their type, e.g.:
|
37
|
+
#
|
38
|
+
# RSpec.describe UsersController, :type => :controller do
|
39
|
+
# # ...
|
40
|
+
# end
|
41
|
+
#
|
42
|
+
# The different available types are documented in the features, such as in
|
43
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
44
|
+
config.infer_spec_type_from_file_location!
|
45
|
+
|
46
|
+
config.before(:suite) do
|
47
|
+
FileUtils.rm_rf(Rails.root.join("tmp/magic_lamp"))
|
48
|
+
end
|
49
|
+
|
50
|
+
config.after(:suite) do
|
51
|
+
FileUtils.rm_rf(Rails.root.join("tmp/magic_lamp"))
|
52
|
+
end
|
53
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
4
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
5
|
+
#
|
6
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
7
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
8
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
9
|
+
# individual file that may not need all of that loaded. Instead, make a
|
10
|
+
# separate helper file that requires this one and then use it only in the specs
|
11
|
+
# that actually need it.
|
12
|
+
#
|
13
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
14
|
+
# users commonly want.
|
15
|
+
#
|
16
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
17
|
+
RSpec.configure do |config|
|
18
|
+
# The settings below are suggested to provide a good initial experience
|
19
|
+
# with RSpec, but feel free to customize to your heart's content.
|
20
|
+
|
21
|
+
# These two settings work together to allow you to limit a spec run
|
22
|
+
# to individual examples or groups you care about by tagging them with
|
23
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
24
|
+
# get run.
|
25
|
+
config.filter_run :focus
|
26
|
+
config.filter_run_excluding :integration
|
27
|
+
config.run_all_when_everything_filtered = true
|
28
|
+
|
29
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
30
|
+
# file, and it's useful to allow more verbose output when running an
|
31
|
+
# individual spec file.
|
32
|
+
if config.files_to_run.one?
|
33
|
+
# Use the documentation formatter for detailed output,
|
34
|
+
# unless a formatter has already been configured
|
35
|
+
# (e.g. via a command-line flag).
|
36
|
+
config.default_formatter = "doc"
|
37
|
+
end
|
38
|
+
|
39
|
+
# Print the 10 slowest examples and example groups at the
|
40
|
+
# end of the spec run, to help surface which specs are running
|
41
|
+
# particularly slow.
|
42
|
+
# config.profile_examples = 2
|
43
|
+
|
44
|
+
# Run specs in random order to surface order dependencies. If you find an
|
45
|
+
# order dependency and want to debug it, you can fix the order by providing
|
46
|
+
# the seed, which is printed after each run.
|
47
|
+
# --seed 1234
|
48
|
+
config.order = :random
|
49
|
+
|
50
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
51
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
52
|
+
# test failures related to randomization by passing the same `--seed` value
|
53
|
+
# as the one that triggered the failure.
|
54
|
+
Kernel.srand config.seed
|
55
|
+
|
56
|
+
# rspec-expectations config goes here. You can use an alternate
|
57
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
58
|
+
# assertions if you prefer.
|
59
|
+
config.expect_with :rspec do |expectations|
|
60
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
61
|
+
# For more details, see:
|
62
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
63
|
+
expectations.syntax = :expect
|
64
|
+
end
|
65
|
+
|
66
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
67
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
68
|
+
config.mock_with :rspec do |mocks|
|
69
|
+
# Enable only the newer, non-monkey-patching expect syntax.
|
70
|
+
# For more details, see:
|
71
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
72
|
+
mocks.syntax = :expect
|
73
|
+
|
74
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
75
|
+
# a real object. This is generally recommended.
|
76
|
+
mocks.verify_partial_doubles = true
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require "rails_helper"
|
2
|
+
|
3
|
+
describe "MagicLamp Rake tasks" do
|
4
|
+
describe "clean" do
|
5
|
+
it "calls remove_tmp_directory" do
|
6
|
+
expect(MagicLamp).to receive(:remove_tmp_directory)
|
7
|
+
Rake::Task["magic_lamp:clean"].actions.first.call
|
8
|
+
end
|
9
|
+
|
10
|
+
it "depends on the environment task" do
|
11
|
+
prereqs = Rake::Task["magic_lamp:clean"].all_prerequisite_tasks
|
12
|
+
expect(prereqs).to include(Rake::Task["environment"])
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
describe "create_fixtures" do
|
17
|
+
it "calls load_lamp_files" do
|
18
|
+
expect(MagicLamp).to receive(:load_lamp_files)
|
19
|
+
Rake::Task["magic_lamp:create_fixtures"].actions.first.call
|
20
|
+
end
|
21
|
+
|
22
|
+
it "depends on the clean task" do
|
23
|
+
prereqs = Rake::Task["magic_lamp:create_fixtures"].all_prerequisite_tasks
|
24
|
+
expect(prereqs).to include(Rake::Task["magic_lamp:clean"])
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
describe "magic_lamp" do
|
29
|
+
it "depends on the create_fixtures task" do
|
30
|
+
prereqs = Rake::Task["magic_lamp"].all_prerequisite_tasks
|
31
|
+
expect(prereqs).to include(Rake::Task["magic_lamp:create_fixtures"])
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
metadata
ADDED
@@ -0,0 +1,257 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: magic_lamp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael Crismali
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sqlite3
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-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: pry
|
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: pry-nav
|
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'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry-debugger
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
description: MagicLamp provides an easy way to generate fixture files from your Rails
|
98
|
+
templates for use in JavaScript specs.
|
99
|
+
email:
|
100
|
+
- michael.crismali@gmail.com
|
101
|
+
executables: []
|
102
|
+
extensions: []
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- LICENSE
|
106
|
+
- README.md
|
107
|
+
- lib/magic_lamp.rb
|
108
|
+
- lib/magic_lamp/fixture_creator.rb
|
109
|
+
- lib/magic_lamp/version.rb
|
110
|
+
- lib/tasks/magic_lamp_tasks.rb
|
111
|
+
- spec/dummy/README.rdoc
|
112
|
+
- spec/dummy/Rakefile
|
113
|
+
- spec/dummy/app/assets/javascripts/application.js
|
114
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
115
|
+
- spec/dummy/app/controllers/application_controller.rb
|
116
|
+
- spec/dummy/app/controllers/orders_controller.rb
|
117
|
+
- spec/dummy/app/helpers/application_helper.rb
|
118
|
+
- spec/dummy/app/helpers/orders_helper.rb
|
119
|
+
- spec/dummy/app/models/order.rb
|
120
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
121
|
+
- spec/dummy/app/views/orders/_form.html.erb
|
122
|
+
- spec/dummy/app/views/orders/edit.html.erb
|
123
|
+
- spec/dummy/app/views/orders/foo.html.erb
|
124
|
+
- spec/dummy/app/views/orders/index.html.erb
|
125
|
+
- spec/dummy/app/views/orders/new.html.erb
|
126
|
+
- spec/dummy/app/views/orders/show.html.erb
|
127
|
+
- spec/dummy/bin/bundle
|
128
|
+
- spec/dummy/bin/rails
|
129
|
+
- spec/dummy/bin/rake
|
130
|
+
- spec/dummy/config.ru
|
131
|
+
- spec/dummy/config/application.rb
|
132
|
+
- spec/dummy/config/boot.rb
|
133
|
+
- spec/dummy/config/database.yml
|
134
|
+
- spec/dummy/config/environment.rb
|
135
|
+
- spec/dummy/config/environments/development.rb
|
136
|
+
- spec/dummy/config/environments/production.rb
|
137
|
+
- spec/dummy/config/environments/test.rb
|
138
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
139
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
140
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
141
|
+
- spec/dummy/config/initializers/inflections.rb
|
142
|
+
- spec/dummy/config/initializers/mime_types.rb
|
143
|
+
- spec/dummy/config/initializers/session_store.rb
|
144
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
145
|
+
- spec/dummy/config/locales/en.yml
|
146
|
+
- spec/dummy/config/routes.rb
|
147
|
+
- spec/dummy/config/secrets.yml
|
148
|
+
- spec/dummy/db/migrate/20140623002513_create_orders.rb
|
149
|
+
- spec/dummy/db/schema.rb
|
150
|
+
- spec/dummy/db/test.sqlite3
|
151
|
+
- spec/dummy/log/development.log
|
152
|
+
- spec/dummy/log/test.log
|
153
|
+
- spec/dummy/public/404.html
|
154
|
+
- spec/dummy/public/422.html
|
155
|
+
- spec/dummy/public/500.html
|
156
|
+
- spec/dummy/public/favicon.ico
|
157
|
+
- spec/dummy/spec/magic_lamp.rb
|
158
|
+
- spec/dummy/spec/magic_lamp/foo/foo_lamp.rb
|
159
|
+
- spec/dummy/spec/magic_lamp/rake/rake_lamp.rb
|
160
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
161
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
162
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
163
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
164
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
165
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
166
|
+
- spec/integration/integration_spec.rb
|
167
|
+
- spec/lib/fixture_creator_spec.rb
|
168
|
+
- spec/lib/magic_lamp_spec.rb
|
169
|
+
- spec/rails_helper.rb
|
170
|
+
- spec/spec_helper.rb
|
171
|
+
- spec/tasks/magic_lamp_tasks_spec.rb
|
172
|
+
homepage: https://github.com/crismali/magic_lamp
|
173
|
+
licenses:
|
174
|
+
- Apache
|
175
|
+
metadata: {}
|
176
|
+
post_install_message:
|
177
|
+
rdoc_options: []
|
178
|
+
require_paths:
|
179
|
+
- lib
|
180
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
requirements: []
|
191
|
+
rubyforge_project:
|
192
|
+
rubygems_version: 2.2.2
|
193
|
+
signing_key:
|
194
|
+
specification_version: 4
|
195
|
+
summary: Turn Rails templates into fixtures for JavaScript testing
|
196
|
+
test_files:
|
197
|
+
- spec/dummy/app/assets/javascripts/application.js
|
198
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
199
|
+
- spec/dummy/app/controllers/application_controller.rb
|
200
|
+
- spec/dummy/app/controllers/orders_controller.rb
|
201
|
+
- spec/dummy/app/helpers/application_helper.rb
|
202
|
+
- spec/dummy/app/helpers/orders_helper.rb
|
203
|
+
- spec/dummy/app/models/order.rb
|
204
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
205
|
+
- spec/dummy/app/views/orders/_form.html.erb
|
206
|
+
- spec/dummy/app/views/orders/edit.html.erb
|
207
|
+
- spec/dummy/app/views/orders/foo.html.erb
|
208
|
+
- spec/dummy/app/views/orders/index.html.erb
|
209
|
+
- spec/dummy/app/views/orders/new.html.erb
|
210
|
+
- spec/dummy/app/views/orders/show.html.erb
|
211
|
+
- spec/dummy/bin/bundle
|
212
|
+
- spec/dummy/bin/rails
|
213
|
+
- spec/dummy/bin/rake
|
214
|
+
- spec/dummy/config/application.rb
|
215
|
+
- spec/dummy/config/boot.rb
|
216
|
+
- spec/dummy/config/database.yml
|
217
|
+
- spec/dummy/config/environment.rb
|
218
|
+
- spec/dummy/config/environments/development.rb
|
219
|
+
- spec/dummy/config/environments/production.rb
|
220
|
+
- spec/dummy/config/environments/test.rb
|
221
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
222
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
223
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
224
|
+
- spec/dummy/config/initializers/inflections.rb
|
225
|
+
- spec/dummy/config/initializers/mime_types.rb
|
226
|
+
- spec/dummy/config/initializers/session_store.rb
|
227
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
228
|
+
- spec/dummy/config/locales/en.yml
|
229
|
+
- spec/dummy/config/routes.rb
|
230
|
+
- spec/dummy/config/secrets.yml
|
231
|
+
- spec/dummy/config.ru
|
232
|
+
- spec/dummy/db/migrate/20140623002513_create_orders.rb
|
233
|
+
- spec/dummy/db/schema.rb
|
234
|
+
- spec/dummy/db/test.sqlite3
|
235
|
+
- spec/dummy/log/development.log
|
236
|
+
- spec/dummy/log/test.log
|
237
|
+
- spec/dummy/public/404.html
|
238
|
+
- spec/dummy/public/422.html
|
239
|
+
- spec/dummy/public/500.html
|
240
|
+
- spec/dummy/public/favicon.ico
|
241
|
+
- spec/dummy/Rakefile
|
242
|
+
- spec/dummy/README.rdoc
|
243
|
+
- spec/dummy/spec/magic_lamp/foo/foo_lamp.rb
|
244
|
+
- spec/dummy/spec/magic_lamp/rake/rake_lamp.rb
|
245
|
+
- spec/dummy/spec/magic_lamp.rb
|
246
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
|
247
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
248
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
|
249
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
250
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
251
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
252
|
+
- spec/integration/integration_spec.rb
|
253
|
+
- spec/lib/fixture_creator_spec.rb
|
254
|
+
- spec/lib/magic_lamp_spec.rb
|
255
|
+
- spec/rails_helper.rb
|
256
|
+
- spec/spec_helper.rb
|
257
|
+
- spec/tasks/magic_lamp_tasks_spec.rb
|