rspec-cells 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 604ea993632b9bdaa33ba9f8ff1078fa91ff8771
4
- data.tar.gz: 8049f0a323f926b009bdab5bea1e11c45b240a06
3
+ metadata.gz: 1632cd4d7920d1673c4205ac06a0c42984936dd6
4
+ data.tar.gz: 2e4d1ff66a84a43bf86a3ab907e761816f0d839e
5
5
  SHA512:
6
- metadata.gz: c9a0127e3d120f6d2607f0fab9406ac12914c30fa58b0e5726c057d36f465c9fbb1140dde0341d0eb08b76d2d6c3c7f87fadca556645dd29d7511540ed33d58a
7
- data.tar.gz: f66d7bb81108bc3ab3b93e13a90ce7227439caa5cb123881cfe3860166da4b6932d162b4506352c334c3614b7d30fd38cece494cdac1a9beaf739605dc812614
6
+ metadata.gz: e0f03c8abea68185039f8c31d7c7a925b87f734dd635c553e09973f036dcea2700d70c411f225a68cd18a5182a69522ee26c3ac5662c8fcea7a2d4aa88b804c2
7
+ data.tar.gz: 1bc38912b08475adb5e67cdf052ae1d6d9c7671cac402b03b29a3429c286cd50c50364f5b10c6e860b6529717fbe456e750c6b19140ed5f1ecfb4eff925b1ff8
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.3.2
2
+
3
+ * Bugfix: In 0.3.1, I included cells specific `#controller` code into every Rspec example. Thanks to @psynix for spotting this within minutes.
4
+
1
5
  # 0.3.1
2
6
 
3
7
  * You can now use `::controller` in your examples to set a controller class, in case your cell requires a controller. This also fixes `#controller` in the example which always returned nil before.
@@ -35,6 +35,9 @@ module RSpec
35
35
  @routes = ::Rails.application.routes
36
36
  ActionController::Base.allow_forgery_protection = false
37
37
  end
38
+
39
+ # add Example::controller and ::controller_class. for some reasons, this doesn't get imported from Cell::Testing.
40
+ extend RSpec::Cells::ExampleGroup::ControllerClass
38
41
  end
39
42
 
40
43
 
@@ -58,7 +61,4 @@ RSpec.configure do |c|
58
61
  c.include RSpec::Cells::ExampleGroup, :type => :cell
59
62
 
60
63
  Cell::Testing.capybara = true if Object.const_defined?(:"Capybara")
61
-
62
- # add Example::controller and ::controller_class. for some reasons, this doesn't get imported from Cell::Testing.
63
- c.extend RSpec::Cells::ExampleGroup::ControllerClass
64
64
  end
@@ -1,6 +1,6 @@
1
1
  module RSpec
2
2
  module Cells
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
6
6
 
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.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Sutterer
@@ -91,8 +91,4 @@ rubygems_version: 2.2.2
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Spec your cells.
94
- test_files:
95
- - spec/cells/caching_spec.rb
96
- - spec/cells/cell_generator_spec.rb
97
- - spec/cells/cell_spec_spec.rb
98
- - spec/spec_helper.rb
94
+ test_files: []