Sha256: 540b124b0f3130392720dbcb142bd9b406733ff03d5cdbd5e626a5b8a6921b84

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

module Sprinkle
  module Verifiers
    # = User Verifier
    # This was added so we dont have to verify a file to see if user was created
    # Defines a verify which can be used to test the existence of a user.
    module Users
      Sprinkle::Verify.register(Sprinkle::Verifiers::Users)
      
      # Tests that the user exists
      def has_user(user)
        @commands << "id #{user}"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sprinkle-0.3.6 lib/sprinkle/verifiers/user.rb
sprinkle-0.3.5 lib/sprinkle/verifiers/user.rb