README in remarkable_rails-3.1.9 vs README in remarkable_rails-3.1.10
- old
+ new
@@ -67,10 +67,10 @@
describe :post => :create, :task => { :these => 'params' } do
expects :new, :on => Task, :with => {'these' => 'params'}, :returns => task_proc
expects :save, :on => task_proc, :returns => true
should_assign_to :task, :with => task_proc
- should_redirect_to { task_url(task_proc) }
+ should_redirect_to { task_url(mock_task) }
end
end
It automatically performs the action before running each macro. It executes the
expects as expectations (:should_receive), but you can supply :with_stubs => true