rspec-cells 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.textile +4 -0
- data/lib/rspec/cells/version.rb +1 -1
- data/lib/rspec/cells.rb +3 -1
- data/lib/rspec/rails/example/cell_example_group.rb +4 -6
- data/lib/rspec-cells.rb +1 -1
- metadata +2 -2
data/CHANGES.textile
CHANGED
data/lib/rspec/cells/version.rb
CHANGED
data/lib/rspec/cells.rb
CHANGED
@@ -2,7 +2,6 @@ module RSpec::Rails
|
|
2
2
|
# Lets you call #render_cell in Rspec2. Move your cell specs to <tt>spec/cells/</tt>.
|
3
3
|
module CellExampleGroup
|
4
4
|
extend ActiveSupport::Concern
|
5
|
-
extend RSpec::Rails::ModuleInclusion
|
6
5
|
|
7
6
|
include RSpec::Rails::RailsExampleGroup
|
8
7
|
include Cell::TestCase::TestMethods
|
@@ -61,10 +60,9 @@ module RSpec::Rails
|
|
61
60
|
# we always render views in rspec-cells, so turn it on.
|
62
61
|
subject { controller }
|
63
62
|
end
|
64
|
-
|
65
|
-
RSpec.configure do |c|
|
66
|
-
c.include self, :example_group => { :file_path => /spec\/cells/ }
|
67
|
-
end
|
68
|
-
|
69
63
|
end
|
70
64
|
end
|
65
|
+
|
66
|
+
RSpec.configure do |c|
|
67
|
+
c.include RSpec::Rails::CellExampleGroup, :example_group => { :file_path => /spec\/cells/ }
|
68
|
+
end
|
data/lib/rspec-cells.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-cells
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|