CHANGELOG in remarkable_rails-3.1.3 vs CHANGELOG in remarkable_rails-3.1.4
- old
+ new
@@ -1,49 +1,51 @@
-* mock_models now creates a second class method to be used on the index action [#71]
- In other words, mock_models :project will create:
+* assert_valid_keys on expects
- def self.mock_project
- proc { mock_project }
- end
-
- # This was added to be used on index actions
- def self.mock_projects
- proc { [ mock_project ] }
- end
-
- def mock_project(stubs={})
- @project ||= mock_model(Project, stubs)
- end
-
-* Allow multiple args to be given to :with in expects. If you need to verify that
- an array is being sent, you need to send an array inside another array [#70]
-
-* Allow procs or blocks to be given to respond_with_body and respond_with :body [#67]
-
-* Allow ordered to be given to macro stubs as option [#66]
-
-# v3.1
-
-* Ensure set_cookies and set_session work with arrays [#55]
-
-* Added set_cookies matcher [#51]
-
-* Add a helper to declare that a XmlHttpRequest should be performed:
-
- describe :get => :show do
- xhr!
-
-* Macro stubs now supports blocks too [#50]
-
- expects :human_attribute_name, :on => Project, :with => :title do |attr|
- attr.to_s.humanize
- end
-
-* :to option in set_session and set_the_flash now accepts Regexp [#46]
-
-* render_template now works with partials [#43]
-
-* Added to support for routing example group (inside spec/routing) [#26]
+* mock_models now creates a second class method to be used on the index action [#71]
+ In other words, mock_models :project will create:
+
+ def self.mock_project
+ proc { mock_project }
+ end
+
+ # This was added to be used on index actions
+ def self.mock_projects
+ proc { [ mock_project ] }
+ end
+
+ def mock_project(stubs={})
+ @project ||= mock_model(Project, stubs)
+ end
+
+* Allow multiple args to be given to :with in expects. If you need to verify that
+ an array is being sent, you need to send an array inside another array [#70]
+
+* Allow procs or blocks to be given to respond_with_body and respond_with :body [#67]
+
+* Allow ordered to be given to macro stubs as option [#66]
+
+# v3.1
+
+* Ensure set_cookies and set_session work with arrays [#55]
+
+* Added set_cookies matcher [#51]
+
+* Add a helper to declare that a XmlHttpRequest should be performed:
+
+ describe :get => :show do
+ xhr!
+
+* Macro stubs now supports blocks too [#50]
+
+ expects :human_attribute_name, :on => Project, :with => :title do |attr|
+ attr.to_s.humanize
+ end
+
+* :to option in set_session and set_the_flash now accepts Regexp [#46]
+
+* render_template now works with partials [#43]
+
+* Added to support for routing example group (inside spec/routing) [#26]
# v3.0
* redirect_to and render_template were ported from rspec-rails to
remarkable to provide I18n. The second was also extended to deal with :with,