test/base_test.rb in active_presenter-0.0.5 vs test/base_test.rb in active_presenter-0.0.6
- old
+ new
@@ -1,7 +1,15 @@
require File.dirname(__FILE__)+'/test_helper'
Expectations do
+ expect nil do
+ SignupPresenter.new.id
+ end
+
+ expect true do
+ SignupPresenter.new.new_record?
+ end
+
expect :user => User, :account => Account do
SignupPresenter.presented
end
expect User.create!(hash_for_user) do |u|