thincloud-test 0.3.1 → 0.3.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.
@@ -0,0 +1,3 @@
1
+ class MiniTest::Spec
2
+ include FactoryGirl::Syntax::Methods
3
+ end
@@ -26,7 +26,7 @@ require "minitest-rails-shoulda" # shoulda matchers
26
26
  require "mocha" # mocks and stubs
27
27
 
28
28
  # use factories instead of fixtures
29
- require 'factory_girl'
29
+ require "factory_girl"
30
30
  FactoryGirl.find_definitions
31
31
 
32
32
  # Requires supporting ruby files with custom matchers and macros, etc,
@@ -15,6 +15,7 @@ module Thincloud
15
15
  remove_file "test/minitest_helper.rb"
16
16
  copy_file "minitest_helper.rb", "test/minitest_helper.rb"
17
17
 
18
+ copy_file "factory_girl.rb", "test/support/factory_girl.rb"
18
19
  copy_file "database_cleaner.rb", "test/support/database_cleaner.rb"
19
20
  copy_file "test.rake", "lib/tasks/test.rake"
20
21
 
@@ -1,5 +1,5 @@
1
1
  module Thincloud
2
2
  module Test
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thincloud-test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -231,6 +231,7 @@ files:
231
231
  - config/routes.rb
232
232
  - lib/generators/thincloud/test/templates/Guardfile
233
233
  - lib/generators/thincloud/test/templates/database_cleaner.rb
234
+ - lib/generators/thincloud/test/templates/factory_girl.rb
234
235
  - lib/generators/thincloud/test/templates/minitest_helper.rb
235
236
  - lib/generators/thincloud/test/templates/test.rake
236
237
  - lib/generators/thincloud/test/test_generator.rb
@@ -294,7 +295,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
294
295
  version: '0'
295
296
  segments:
296
297
  - 0
297
- hash: 1841516641465089378
298
+ hash: 4225137311479979046
298
299
  required_rubygems_version: !ruby/object:Gem::Requirement
299
300
  none: false
300
301
  requirements:
@@ -303,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
304
  version: '0'
304
305
  segments:
305
306
  - 0
306
- hash: 1841516641465089378
307
+ hash: 4225137311479979046
307
308
  requirements: []
308
309
  rubyforge_project:
309
310
  rubygems_version: 1.8.24