CHANGELOG in remarkable_rails-3.1.4 vs CHANGELOG in remarkable_rails-3.1.5

- old
+ new

@@ -1,5 +1,11 @@ +* [DEPRECATION] By default all matchers perform expectations, use with_stubs => true + if you want otherwise. + +* [DEPRECATION] mock_models now creates model_proc instead of mock_model. + Altough this won't fire any deprecation warning, all the documentation was changed. + * assert_valid_keys on expects * mock_models now creates a second class method to be used on the index action [#71] In other words, mock_models :project will create: @@ -68,13 +74,13 @@ describe TasksController do mock_models :task describe :post => :create, :task => { :these => 'params' } do - expects :new, :on => Task, with => {'these' => 'params'}, :returns => mock_task + expects :new, :on => Task, with => {'these' => 'params'}, :returns => task_proc expects :save, :on => mock_task, :returns => true - should_assign_to :task, :with => mock_task + should_assign_to :task, :with => task_proc should_redirect_to { task_url(mock_task) } end end It automatically performs the action before running each macro. In assign_to,