thincloud-test 0.1.2 → 0.1.3
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/.gitignore +1 -0
- data/lib/generators/thincloud/test/templates/Guardfile +1 -0
- data/lib/generators/thincloud/test/templates/spec_helper.rb +2 -2
- data/lib/generators/thincloud/test/test_generator.rb +2 -1
- data/lib/thincloud-test/version.rb +1 -1
- data/lib/thincloud-test.rb +0 -1
- metadata +2 -3
- data/lib/generators/thincloud/.DS_Store +0 -0
data/.gitignore
CHANGED
@@ -6,6 +6,7 @@ guard "minitest" do
|
|
6
6
|
watch(%r|^spec/(.*)_spec\.rb|)
|
7
7
|
watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
8
8
|
watch(%r|^spec/spec_helper\.rb|) { "spec" }
|
9
|
+
watch(%r|^spec/support/|) { "spec" }
|
9
10
|
|
10
11
|
# Rails 3.2
|
11
12
|
watch(%r|^app/controllers/(.*)\.rb|) { |m| "spec/controllers/#{m[1]}_spec.rb" }
|
@@ -9,12 +9,12 @@ require File.expand_path('../../config/environment', __FILE__)
|
|
9
9
|
|
10
10
|
require "minitest/autorun"
|
11
11
|
require "minitest/rails"
|
12
|
+
require "minitest/pride" # Provides awesome colorful output
|
12
13
|
|
13
14
|
# Uncomment if you want Capybara in accceptance/integration tests
|
14
15
|
# require "minitest/rails/capybara"
|
15
16
|
|
16
|
-
|
17
|
-
require "minitest/pride"
|
17
|
+
require "mocha"
|
18
18
|
|
19
19
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
20
20
|
# in spec/support/ and its subdirectories.
|
@@ -6,12 +6,13 @@ module Thincloud
|
|
6
6
|
source_root File.expand_path("../templates", __FILE__)
|
7
7
|
|
8
8
|
desc "Generates the test harness."
|
9
|
-
|
10
9
|
def test
|
11
10
|
gem_group :test do
|
11
|
+
gem "factory_girl_rails"
|
12
12
|
gem "guard"
|
13
13
|
gem "growl"
|
14
14
|
gem "minitest"
|
15
|
+
gem "mocha"
|
15
16
|
gem "guard-minitest"
|
16
17
|
gem "minitest-rails"
|
17
18
|
gem "minitest-rails-shoulda", "~> 0.1.0"
|
data/lib/thincloud-test.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-08-
|
13
|
+
date: 2012-08-22 00:00:00.000000000 Z
|
14
14
|
dependencies: []
|
15
15
|
description: Test harness generator for new Thincloud apps.
|
16
16
|
email:
|
@@ -25,7 +25,6 @@ files:
|
|
25
25
|
- LICENSE
|
26
26
|
- README.md
|
27
27
|
- Rakefile
|
28
|
-
- lib/generators/thincloud/.DS_Store
|
29
28
|
- lib/generators/thincloud/test/templates/Guardfile
|
30
29
|
- lib/generators/thincloud/test/templates/spec.rake
|
31
30
|
- lib/generators/thincloud/test/templates/spec_helper.rb
|
Binary file
|