rspec_rails_scaffold_templates 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +4 -4
- data/VERSION +1 -1
- data/rspec_rails_scaffold_templates.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32a24975cf7f9ce930437cc715fced0ba9780fa5
|
4
|
+
data.tar.gz: 5c1f8e9200cd4298881aa27a57632139291e8021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c052902ae1416a7171ae03b0c86a2cefe0c663e0df7bdc32192ffb58b7a6f27333a59f2e908ca87f966331addc48508df71339707d3647bc94d8196441d238d
|
7
|
+
data.tar.gz: 06847d466aa2681ff7c463cba667c192a231686c11d0c88546fc21d546cf02492239b4bb8083b70d11a73bcadb13dbc8666a7a271d038014d050832f741e678c
|
data/README.rdoc
CHANGED
@@ -23,14 +23,14 @@ you will get the needed specs for controller and views.
|
|
23
23
|
|
24
24
|
=== Configuring
|
25
25
|
|
26
|
-
|
26
|
+
In order to have in the generated specs the code that works around the code
|
27
|
+
that checks ability you have to add to the <tt>application.rb</tt> file the
|
28
|
+
config for generators as follows
|
27
29
|
config.generators do |g|
|
28
30
|
g.cancan true
|
29
31
|
end
|
30
|
-
in order to have it the generated specs the code that works around the code
|
31
|
-
that checks ability.
|
32
32
|
|
33
|
-
For the specs on
|
33
|
+
For the specs on views it will be
|
34
34
|
before(:each) do
|
35
35
|
allow(controller).to receive(:can?).and_return(true)
|
36
36
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.2
|
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: rspec_rails_scaffold_templates 1.2.
|
5
|
+
# stub: rspec_rails_scaffold_templates 1.2.2 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "rspec_rails_scaffold_templates"
|
9
|
-
s.version = "1.2.
|
9
|
+
s.version = "1.2.2"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|