generator-spec 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -9,15 +9,16 @@ begin
9
9
  gem.authors = ["Kristian Mandrup"]
10
10
  gem.add_development_dependency "rspec", "~> 2.0.0.beta.22"
11
11
  gem.add_development_dependency "mocha", "~> 0.9.8"
12
- gem.add_development_dependency 'rails-app-spec', "~> 0.2.5"
12
+ gem.add_development_dependency 'rails-app-spec', "~> 0.2.14"
13
13
 
14
+ gem.add_dependency 'rails-app-spec', "~> 0.2.14"
14
15
  gem.add_dependency "rspec", "~> 2.0.0.beta.22"
15
16
  gem.add_dependency "rake", "~> 0.8.7"
16
17
  gem.add_dependency "rails", "~> 3.0.0"
17
18
  gem.add_dependency "test-unit", "~> 2.0.9"
18
19
  gem.add_dependency "require_all", "~> 1.1.0"
19
- gem.add_dependency "sugar-high", "~> 0.2.9"
20
- gem.add_dependency "rails3_artifactor", "~> 0.2.3"
20
+ gem.add_dependency "sugar-high", "~> 0.2.10"
21
+ gem.add_dependency "rails3_artifactor", "~> 0.2.4"
21
22
 
22
23
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
23
24
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.4
1
+ 0.6.5
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{generator-spec}
8
- s.version = "0.6.4"
8
+ s.version = "0.6.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Kristian Mandrup"]
12
- s.date = %q{2010-09-17}
12
+ s.date = %q{2010-09-20}
13
13
  s.description = %q{RSpec 2 library to facilitate creating generator specs}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -37,6 +37,8 @@ Gem::Specification.new do |s|
37
37
  "lib/generator-spec/rspec/generator/test_case.rb",
38
38
  "lib/generator-spec/rspec/macro.rb",
39
39
  "lib/generator-spec/rspec/matchers/generate_artifact.rb",
40
+ "lib/generator-spec/rspec/matchers/generate_artifact_file.rb",
41
+ "lib/generator-spec/rspec/matchers/generate_artifact_files.rb",
40
42
  "lib/generator-spec/rspec/matchers/generate_artifacts.rb",
41
43
  "lib/generators/controller/controller_generator.rb",
42
44
  "lib/generators/helper/helper_generator.rb",
@@ -45,15 +47,19 @@ Gem::Specification.new do |s|
45
47
  "lib/generators/model/model_generator.rb",
46
48
  "lib/generators/observer/observer_generator.rb",
47
49
  "lib/generators/view/view_generator.rb",
50
+ "rails_generator.log",
48
51
  "spec/generator_spec/generators/controller_gen_spec.rb",
49
52
  "spec/generator_spec/generators/helper_gen_spec.rb",
50
53
  "spec/generator_spec/generators/migration_gen_spec.rb",
51
54
  "spec/generator_spec/generators/model_gen_spec.rb",
52
55
  "spec/generator_spec/generators/observer_gen_spec.rb",
53
56
  "spec/generator_spec/generators/view_gen_spec.rb",
57
+ "spec/generator_spec/matchers/generate_artifact_file_spec.rb",
58
+ "spec/generator_spec/matchers/generate_artifact_files_spec.rb",
54
59
  "spec/generator_spec/matchers/generate_artifact_spec.rb",
55
60
  "spec/generator_spec/matchers/generate_artifacts_spec.rb",
56
61
  "spec/spec_helper.rb",
62
+ "tmp/rails_app/config/routes.rb",
57
63
  "wiki/Custom Rails 3 Generators.textile",
58
64
  "wiki/content_matchers.textile",
59
65
  "wiki/file_matchers.textile",
@@ -72,6 +78,8 @@ Gem::Specification.new do |s|
72
78
  "spec/generator_spec/generators/model_gen_spec.rb",
73
79
  "spec/generator_spec/generators/observer_gen_spec.rb",
74
80
  "spec/generator_spec/generators/view_gen_spec.rb",
81
+ "spec/generator_spec/matchers/generate_artifact_file_spec.rb",
82
+ "spec/generator_spec/matchers/generate_artifact_files_spec.rb",
75
83
  "spec/generator_spec/matchers/generate_artifact_spec.rb",
76
84
  "spec/generator_spec/matchers/generate_artifacts_spec.rb",
77
85
  "spec/spec_helper.rb"
@@ -84,37 +92,40 @@ Gem::Specification.new do |s|
84
92
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
85
93
  s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
86
94
  s.add_development_dependency(%q<mocha>, ["~> 0.9.8"])
87
- s.add_development_dependency(%q<rails-app-spec>, ["~> 0.2.5"])
95
+ s.add_development_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
96
+ s.add_runtime_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
88
97
  s.add_runtime_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
89
98
  s.add_runtime_dependency(%q<rake>, ["~> 0.8.7"])
90
99
  s.add_runtime_dependency(%q<rails>, ["~> 3.0.0"])
91
100
  s.add_runtime_dependency(%q<test-unit>, ["~> 2.0.9"])
92
101
  s.add_runtime_dependency(%q<require_all>, ["~> 1.1.0"])
93
- s.add_runtime_dependency(%q<sugar-high>, ["~> 0.2.9"])
94
- s.add_runtime_dependency(%q<rails3_artifactor>, ["~> 0.2.3"])
102
+ s.add_runtime_dependency(%q<sugar-high>, ["~> 0.2.10"])
103
+ s.add_runtime_dependency(%q<rails3_artifactor>, ["~> 0.2.4"])
95
104
  else
96
105
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
97
106
  s.add_dependency(%q<mocha>, ["~> 0.9.8"])
98
- s.add_dependency(%q<rails-app-spec>, ["~> 0.2.5"])
107
+ s.add_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
108
+ s.add_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
99
109
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
100
110
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
101
111
  s.add_dependency(%q<rails>, ["~> 3.0.0"])
102
112
  s.add_dependency(%q<test-unit>, ["~> 2.0.9"])
103
113
  s.add_dependency(%q<require_all>, ["~> 1.1.0"])
104
- s.add_dependency(%q<sugar-high>, ["~> 0.2.9"])
105
- s.add_dependency(%q<rails3_artifactor>, ["~> 0.2.3"])
114
+ s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
115
+ s.add_dependency(%q<rails3_artifactor>, ["~> 0.2.4"])
106
116
  end
107
117
  else
108
118
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
109
119
  s.add_dependency(%q<mocha>, ["~> 0.9.8"])
110
- s.add_dependency(%q<rails-app-spec>, ["~> 0.2.5"])
120
+ s.add_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
121
+ s.add_dependency(%q<rails-app-spec>, ["~> 0.2.14"])
111
122
  s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.22"])
112
123
  s.add_dependency(%q<rake>, ["~> 0.8.7"])
113
124
  s.add_dependency(%q<rails>, ["~> 3.0.0"])
114
125
  s.add_dependency(%q<test-unit>, ["~> 2.0.9"])
115
126
  s.add_dependency(%q<require_all>, ["~> 1.1.0"])
116
- s.add_dependency(%q<sugar-high>, ["~> 0.2.9"])
117
- s.add_dependency(%q<rails3_artifactor>, ["~> 0.2.3"])
127
+ s.add_dependency(%q<sugar-high>, ["~> 0.2.10"])
128
+ s.add_dependency(%q<rails3_artifactor>, ["~> 0.2.4"])
118
129
  end
119
130
  end
120
131
 
@@ -47,7 +47,6 @@ module RSpec::Generator
47
47
  base_path = File.join(lib, 'generators')
48
48
  path = name ? File.join(base_path, name) : base_path
49
49
  path = File.expand_path path
50
- puts "require all generators from: #{path}" if debug?
51
50
  require_all path
52
51
  end
53
52
 
@@ -2,11 +2,12 @@ module RSpec::RailsApp::Artifact
2
2
  module Matchers
3
3
  class GenerateArtifact < HaveArtifact
4
4
  def initialize(name, artifact_type)
5
- super
5
+ super name, artifact_type
6
6
  end
7
7
 
8
8
  def matches?(generator, &block)
9
- super File.join(Rails.application.config.root_dir, 'rails_app'), &block
9
+ root = Rails.root # File.join(Rails.application.config.root_dir, 'rails_app')
10
+ super root, &block
10
11
  end
11
12
  end
12
13
 
@@ -20,7 +21,6 @@ module RSpec::RailsApp::Artifact
20
21
  def generate_#{name} name
21
22
  generate_artifact name, :#{name}
22
23
  end
23
- alias_method :create_#{name}, :generate_#{name}
24
24
  }
25
25
  end
26
26
 
@@ -28,7 +28,6 @@ module RSpec::RailsApp::Artifact
28
28
  arg = {:folder => folder, :action => action, :view_ext => view_ext}
29
29
  generate_artifact arg, :view
30
30
  end
31
- alias_method :create_view, :generate_view
32
31
  end
33
32
  end
34
33
 
@@ -0,0 +1,10 @@
1
+ module RSpec::RailsApp::ArtifactFile
2
+ module Matchers
3
+ ::Rails3::Assist.artifacts.each do |name|
4
+ class_eval %{
5
+ alias_method :generate_#{name}_file, :have_#{name}_file
6
+ }
7
+ end
8
+ end
9
+ end
10
+
@@ -0,0 +1,12 @@
1
+ module RSpec::RailsApp::ArtifactFile
2
+ module Matchers
3
+ alias_method :generate_artifact_files, :have_rails_artifact_files
4
+
5
+ ::Rails3::Assist.artifacts.each do |name|
6
+ class_eval %{
7
+ alias_method :generate_#{name}_files, :have_#{name}_files
8
+ }
9
+ end
10
+ end
11
+ end
12
+
@@ -6,7 +6,8 @@ module RSpec::RailsApp::Artifact
6
6
  end
7
7
 
8
8
  def matches?(generator, &block)
9
- super File.join(Rails.application.config.root_dir, 'rails_app'), &block
9
+ root = Rails.root # File.join(Rails.application.config.root_dir, 'rails_app'), &block
10
+ super root
10
11
  end
11
12
  end
12
13
 
@@ -20,14 +21,12 @@ module RSpec::RailsApp::Artifact
20
21
  def generate_#{plural_artifact} *names
21
22
  generate_artifacts :#{name}, *names
22
23
  end
23
- alias_method :create_#{plural_artifact}, :generate_#{plural_artifact}
24
24
  }
25
25
  end
26
26
 
27
27
  def generate_views folder, *args
28
28
  generate_artifacts folder, *args
29
29
  end
30
- alias_method :create_views, :generate_views
31
30
  end
32
31
  end
33
32
 
@@ -13,7 +13,7 @@ class ModelGenerator < Rails::Generators::NamedBase
13
13
 
14
14
  def make_canable_able
15
15
  begin
16
- log.debug "make_canable_able: #{name}"
16
+ logger.debug "make_canable_able: #{name}"
17
17
  insert_into_model name do
18
18
  canable_include_txt
19
19
  end
@@ -28,9 +28,7 @@ class ModelGenerator < Rails::Generators::NamedBase
28
28
 
29
29
  protected
30
30
 
31
- def log
32
- @log ||= Rails::Assist::Logging.new
33
- end
31
+ include Rails3::Assist::BasicLogger
34
32
 
35
33
  extend Rails3::Assist::UseMacro
36
34
  use_orm :mongoid
@@ -0,0 +1,15 @@
1
+ # Logfile created on 2010-09-20 22:06:04 +0200 by logger.rb/25413
2
+ -----------------------------------------------------
3
+ 2010-09-20 22:06:04 +0200 -- setup generator: [model]
4
+ -----------------------------------------------------
5
+ 2010-09-20 22:06:38 +0200 -- setup generator: [model]
6
+ -----------------------------------------------------
7
+ 2010-09-20 22:06:38 +0200 -- setup generator: [model]
8
+ -----------------------------------------------------
9
+ 2010-09-20 22:06:38 +0200 -- setup generator: [model]
10
+ -----------------------------------------------------
11
+ 2010-09-20 22:07:41 +0200 -- setup generator: [model]
12
+ -----------------------------------------------------
13
+ 2010-09-20 22:07:41 +0200 -- setup generator: [model]
14
+ -----------------------------------------------------
15
+ 2010-09-20 22:07:41 +0200 -- setup generator: [model]
@@ -28,7 +28,6 @@ describe 'model_generator' do
28
28
  create_model :account
29
29
  g.run_generator :account.args
30
30
  g.should generate_model :account do |content|
31
- puts content
32
31
  content.should include_module 'Canable::Ables'
33
32
  end
34
33
  end
@@ -0,0 +1,50 @@
1
+ require 'spec_helper'
2
+ require_generator :model
3
+
4
+ describe 'model_generator' do
5
+ use_orm :mongoid
6
+
7
+ before do
8
+ setup_generator :model do
9
+ tests ModelGenerator
10
+ end
11
+ end
12
+
13
+ before :each do
14
+ remove_model :account
15
+ end
16
+
17
+ after :each do
18
+ remove_model :account
19
+ end
20
+
21
+ it "should not work without an Account model file" do
22
+ with_generator do |g|
23
+ g.run_generator :account.args
24
+ g.should_not generate_model_file :account
25
+ end
26
+ end
27
+
28
+ it "should decorate an existing Account model file with include Canable:Ables" do
29
+ create_model :account do
30
+ 'hello'
31
+ end
32
+ with_generator do |g|
33
+ # g.run_generator :account.args
34
+
35
+ g.should_not generate_model_file :user
36
+ g.should_not generate_controller_file :user
37
+
38
+ g.should generate_model_file :account do |content|
39
+ content.should include_module 'Canable::Ables'
40
+ end
41
+ end
42
+ end
43
+
44
+ it "should not have generated other things!" do
45
+ with_generator do |g|
46
+ g.should_not generate_model_file :user
47
+ g.should_not generate_controller_file :user
48
+ end
49
+ end
50
+ end
@@ -0,0 +1,35 @@
1
+ require 'spec_helper'
2
+ require_generator :model
3
+
4
+ describe 'model_generator' do
5
+ use_orm :mongoid
6
+
7
+ before :each do
8
+ setup_generator 'model_generator' do
9
+ tests ModelGenerator
10
+ end
11
+ remove_models :account, :person
12
+ end
13
+
14
+ after :each do
15
+ remove_models :account, :person
16
+ end
17
+
18
+ it "should not work without an Account model file" do
19
+ with_generator do |g|
20
+ g.run_generator :account.args
21
+ g.should_not generate_model_files :account, :person
22
+ end
23
+ end
24
+
25
+ it "should decorate an existing Account model file with include Canable:Ables" do
26
+ with_generator do |g|
27
+ create_model :account
28
+ create_model :person
29
+ g.run_generator :account.args
30
+ g.run_generator :person.args
31
+ g.should generate_artifact_files :model, :account, :person
32
+ g.should generate_model_files :account, :person
33
+ end
34
+ end
35
+ end
@@ -26,18 +26,18 @@ describe 'model_generator' do
26
26
  end
27
27
 
28
28
  it "should decorate an existing Account model file with include Canable:Ables" do
29
- with_generator do |g|
30
- create_model :account
29
+ create_model :account
30
+
31
+ with_generator do |g|
31
32
  g.run_generator :account.args
32
33
  g.should generate_artifact :account, :model
33
-
34
- g.should_not generate_model :user
35
- g.should_not generate_controller :user
36
-
34
+
37
35
  g.should generate_model :account do |content|
38
- puts content
39
36
  content.should include_module 'Canable::Ables'
40
37
  end
38
+
39
+ g.should_not generate_model :user
40
+ g.should_not generate_controller :user
41
41
  end
42
42
  end
43
43
 
@@ -23,9 +23,10 @@ describe 'model_generator' do
23
23
  end
24
24
 
25
25
  it "should decorate an existing Account model file with include Canable:Ables" do
26
+ create_model :account
27
+ create_model :person
28
+
26
29
  with_generator do |g|
27
- create_model :account
28
- create_model :person
29
30
  g.run_generator :account.args
30
31
  g.run_generator :person.args
31
32
  g.should generate_artifacts :model, :account, :person
data/spec/spec_helper.rb CHANGED
@@ -3,9 +3,9 @@ require 'generator-spec'
3
3
 
4
4
  RSpec::Generator.configure do |config|
5
5
  config.debug = true
6
- config.remove_temp_dir = true #false
6
+ config.remove_temp_dir = false # true #false
7
7
  config.default_rails_root(__FILE__)
8
8
  config.lib = File.dirname(__FILE__) + '/../lib'
9
- config.logger = :stdout # :file
9
+ config.logger = :file
10
10
  end
11
11
 
@@ -0,0 +1,2 @@
1
+ Rails.application.routes.draw do
2
+ end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 4
9
- version: 0.6.4
8
+ - 5
9
+ version: 0.6.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kristian Mandrup
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-17 00:00:00 +02:00
17
+ date: 2010-09-20 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -60,14 +60,29 @@ dependencies:
60
60
  segments:
61
61
  - 0
62
62
  - 2
63
- - 5
64
- version: 0.2.5
63
+ - 14
64
+ version: 0.2.14
65
65
  type: :development
66
66
  version_requirements: *id003
67
67
  - !ruby/object:Gem::Dependency
68
- name: rspec
68
+ name: rails-app-spec
69
69
  prerelease: false
70
70
  requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ segments:
76
+ - 0
77
+ - 2
78
+ - 14
79
+ version: 0.2.14
80
+ type: :runtime
81
+ version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
83
+ name: rspec
84
+ prerelease: false
85
+ requirement: &id005 !ruby/object:Gem::Requirement
71
86
  none: false
72
87
  requirements:
73
88
  - - ~>
@@ -80,11 +95,11 @@ dependencies:
80
95
  - 22
81
96
  version: 2.0.0.beta.22
82
97
  type: :runtime
83
- version_requirements: *id004
98
+ version_requirements: *id005
84
99
  - !ruby/object:Gem::Dependency
85
100
  name: rake
86
101
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
102
+ requirement: &id006 !ruby/object:Gem::Requirement
88
103
  none: false
89
104
  requirements:
90
105
  - - ~>
@@ -95,11 +110,11 @@ dependencies:
95
110
  - 7
96
111
  version: 0.8.7
97
112
  type: :runtime
98
- version_requirements: *id005
113
+ version_requirements: *id006
99
114
  - !ruby/object:Gem::Dependency
100
115
  name: rails
101
116
  prerelease: false
102
- requirement: &id006 !ruby/object:Gem::Requirement
117
+ requirement: &id007 !ruby/object:Gem::Requirement
103
118
  none: false
104
119
  requirements:
105
120
  - - ~>
@@ -110,11 +125,11 @@ dependencies:
110
125
  - 0
111
126
  version: 3.0.0
112
127
  type: :runtime
113
- version_requirements: *id006
128
+ version_requirements: *id007
114
129
  - !ruby/object:Gem::Dependency
115
130
  name: test-unit
116
131
  prerelease: false
117
- requirement: &id007 !ruby/object:Gem::Requirement
132
+ requirement: &id008 !ruby/object:Gem::Requirement
118
133
  none: false
119
134
  requirements:
120
135
  - - ~>
@@ -125,11 +140,11 @@ dependencies:
125
140
  - 9
126
141
  version: 2.0.9
127
142
  type: :runtime
128
- version_requirements: *id007
143
+ version_requirements: *id008
129
144
  - !ruby/object:Gem::Dependency
130
145
  name: require_all
131
146
  prerelease: false
132
- requirement: &id008 !ruby/object:Gem::Requirement
147
+ requirement: &id009 !ruby/object:Gem::Requirement
133
148
  none: false
134
149
  requirements:
135
150
  - - ~>
@@ -140,11 +155,11 @@ dependencies:
140
155
  - 0
141
156
  version: 1.1.0
142
157
  type: :runtime
143
- version_requirements: *id008
158
+ version_requirements: *id009
144
159
  - !ruby/object:Gem::Dependency
145
160
  name: sugar-high
146
161
  prerelease: false
147
- requirement: &id009 !ruby/object:Gem::Requirement
162
+ requirement: &id010 !ruby/object:Gem::Requirement
148
163
  none: false
149
164
  requirements:
150
165
  - - ~>
@@ -152,14 +167,14 @@ dependencies:
152
167
  segments:
153
168
  - 0
154
169
  - 2
155
- - 9
156
- version: 0.2.9
170
+ - 10
171
+ version: 0.2.10
157
172
  type: :runtime
158
- version_requirements: *id009
173
+ version_requirements: *id010
159
174
  - !ruby/object:Gem::Dependency
160
175
  name: rails3_artifactor
161
176
  prerelease: false
162
- requirement: &id010 !ruby/object:Gem::Requirement
177
+ requirement: &id011 !ruby/object:Gem::Requirement
163
178
  none: false
164
179
  requirements:
165
180
  - - ~>
@@ -167,10 +182,10 @@ dependencies:
167
182
  segments:
168
183
  - 0
169
184
  - 2
170
- - 3
171
- version: 0.2.3
185
+ - 4
186
+ version: 0.2.4
172
187
  type: :runtime
173
- version_requirements: *id010
188
+ version_requirements: *id011
174
189
  description: RSpec 2 library to facilitate creating generator specs
175
190
  email: kmandrup@gmail.com
176
191
  executables: []
@@ -201,6 +216,8 @@ files:
201
216
  - lib/generator-spec/rspec/generator/test_case.rb
202
217
  - lib/generator-spec/rspec/macro.rb
203
218
  - lib/generator-spec/rspec/matchers/generate_artifact.rb
219
+ - lib/generator-spec/rspec/matchers/generate_artifact_file.rb
220
+ - lib/generator-spec/rspec/matchers/generate_artifact_files.rb
204
221
  - lib/generator-spec/rspec/matchers/generate_artifacts.rb
205
222
  - lib/generators/controller/controller_generator.rb
206
223
  - lib/generators/helper/helper_generator.rb
@@ -209,15 +226,19 @@ files:
209
226
  - lib/generators/model/model_generator.rb
210
227
  - lib/generators/observer/observer_generator.rb
211
228
  - lib/generators/view/view_generator.rb
229
+ - rails_generator.log
212
230
  - spec/generator_spec/generators/controller_gen_spec.rb
213
231
  - spec/generator_spec/generators/helper_gen_spec.rb
214
232
  - spec/generator_spec/generators/migration_gen_spec.rb
215
233
  - spec/generator_spec/generators/model_gen_spec.rb
216
234
  - spec/generator_spec/generators/observer_gen_spec.rb
217
235
  - spec/generator_spec/generators/view_gen_spec.rb
236
+ - spec/generator_spec/matchers/generate_artifact_file_spec.rb
237
+ - spec/generator_spec/matchers/generate_artifact_files_spec.rb
218
238
  - spec/generator_spec/matchers/generate_artifact_spec.rb
219
239
  - spec/generator_spec/matchers/generate_artifacts_spec.rb
220
240
  - spec/spec_helper.rb
241
+ - tmp/rails_app/config/routes.rb
221
242
  - wiki/Custom Rails 3 Generators.textile
222
243
  - wiki/content_matchers.textile
223
244
  - wiki/file_matchers.textile
@@ -262,6 +283,8 @@ test_files:
262
283
  - spec/generator_spec/generators/model_gen_spec.rb
263
284
  - spec/generator_spec/generators/observer_gen_spec.rb
264
285
  - spec/generator_spec/generators/view_gen_spec.rb
286
+ - spec/generator_spec/matchers/generate_artifact_file_spec.rb
287
+ - spec/generator_spec/matchers/generate_artifact_files_spec.rb
265
288
  - spec/generator_spec/matchers/generate_artifact_spec.rb
266
289
  - spec/generator_spec/matchers/generate_artifacts_spec.rb
267
290
  - spec/spec_helper.rb