spec/support/controllers/nyauth/session_concern.rb in nyauth-0.2.5 vs spec/support/controllers/nyauth/session_concern.rb in nyauth-0.2.6
- old
+ new
@@ -10,10 +10,10 @@
it '#signed_in? should change result from false to true 'do
expect {
subject
}.to change { controller.signed_in?(options) }.from(false).to(true)
end
-
+
it '#signed_in?(as: :admin) should not change result from false'do
expect {
subject
}.not_to change { controller.signed_in?(as: :admin) }.from(false)
end