minitest-spec-rails 4.7.1 → 4.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md
CHANGED
@@ -8,7 +8,7 @@ module MiniTestSpecRails
|
|
8
8
|
singleton_class.class_eval { remove_method :describe }
|
9
9
|
extend MiniTest::Spec::DSL
|
10
10
|
include MiniTestSpecRails::DSL
|
11
|
-
register_spec_type(self) { |desc| Class === desc
|
11
|
+
register_spec_type(self) { |desc| Class === desc }
|
12
12
|
register_rails_test_case self
|
13
13
|
end
|
14
14
|
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'test_helper_dummy'
|
2
|
+
require "#{Dummy::Application.root}/lib/library"
|
3
|
+
|
4
|
+
class LibraryTest < ActiveSupport::TestCase
|
5
|
+
it 'reflects' do
|
6
|
+
describing_class.must_equal LibraryTest
|
7
|
+
described_class.must_equal Library
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
describe Library do
|
12
|
+
it 'reflects' do
|
13
|
+
described_class.must_equal Library
|
14
|
+
self.class.described_class.must_equal Library
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-spec-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 39
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 4
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 4.7.
|
9
|
+
- 2
|
10
|
+
version: 4.7.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ken Collins
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-03-
|
18
|
+
date: 2013-03-20 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
prerelease: false
|
@@ -180,10 +180,12 @@ files:
|
|
180
180
|
- test/dummy_app/config/database.yml
|
181
181
|
- test/dummy_app/config/routes.rb
|
182
182
|
- test/dummy_app/init.rb
|
183
|
+
- test/dummy_app/lib/library.rb
|
183
184
|
- test/dummy_app/tmp/.gitkeep
|
184
185
|
- test/dummy_tests/application_controller_test.rb
|
185
186
|
- test/dummy_tests/foo_helper_test.rb
|
186
187
|
- test/dummy_tests/integration_test.rb
|
188
|
+
- test/dummy_tests/library_test.rb
|
187
189
|
- test/dummy_tests/user_mailer_test.rb
|
188
190
|
- test/dummy_tests/user_test.rb
|
189
191
|
- test/dummy_tests/users_controller_test.rb
|
@@ -244,10 +246,12 @@ test_files:
|
|
244
246
|
- test/dummy_app/config/database.yml
|
245
247
|
- test/dummy_app/config/routes.rb
|
246
248
|
- test/dummy_app/init.rb
|
249
|
+
- test/dummy_app/lib/library.rb
|
247
250
|
- test/dummy_app/tmp/.gitkeep
|
248
251
|
- test/dummy_tests/application_controller_test.rb
|
249
252
|
- test/dummy_tests/foo_helper_test.rb
|
250
253
|
- test/dummy_tests/integration_test.rb
|
254
|
+
- test/dummy_tests/library_test.rb
|
251
255
|
- test/dummy_tests/user_mailer_test.rb
|
252
256
|
- test/dummy_tests/user_test.rb
|
253
257
|
- test/dummy_tests/users_controller_test.rb
|