rspec-cells 0.1.3 → 0.1.4
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/CHANGES.textile +4 -0
- data/lib/rspec/cells/version.rb +1 -1
- data/lib/rspec/cells.rb +1 -2
- data/lib/rspec/rails/example/cell_example_group.rb +6 -4
- 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,6 +2,7 @@ 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
|
|
5
6
|
|
|
6
7
|
include RSpec::Rails::RailsExampleGroup
|
|
7
8
|
include Cell::TestCase::TestMethods
|
|
@@ -60,9 +61,10 @@ module RSpec::Rails
|
|
|
60
61
|
# we always render views in rspec-cells, so turn it on.
|
|
61
62
|
subject { controller }
|
|
62
63
|
end
|
|
63
|
-
end
|
|
64
|
-
end
|
|
65
64
|
|
|
66
|
-
RSpec.configure do |c|
|
|
67
|
-
|
|
65
|
+
RSpec.configure do |c|
|
|
66
|
+
c.include self, :example_group => { :file_path => /spec\/cells/ }
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
end
|
|
68
70
|
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.4
|
|
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-09-
|
|
12
|
+
date: 2012-09-24 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: railties
|