Skip to content

Instantly share code, notes, and snippets.

@aslakhellesoy
Forked from jeromegn/gist:102072
Created April 26, 2009 15:48
Show Gist options
  • Save aslakhellesoy/102074 to your computer and use it in GitHub Desktop.
Save aslakhellesoy/102074 to your computer and use it in GitHub Desktop.
Then /^I should be logged in$/ do
UserSession.find.should_not == nil # RSpec style
assert_not_nil UserSession.find # Test::Unit style
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment