[rspec-users] Test for a gem/plugin?

James Byrne lists at ruby-forum.com
Wed Dec 10 11:26:31 EST 2008


James Byrne wrote:
Of course, the last example should have been:

When /user is authenticated/ do
  # We use Authlogic for authentication so just test that gem is loaded
  assert defined?("Authlogic")
end

-- 
Posted via http://www.ruby-forum.com/.


More information about the rspec-users mailing list