Skip to content

Instantly share code, notes, and snippets.

@shepmaster
Created September 13, 2012 14:47
Show Gist options
  • Save shepmaster/3714767 to your computer and use it in GitHub Desktop.
Save shepmaster/3714767 to your computer and use it in GitHub Desktop.
Shared config
require 'support/client_user'
before(:all) do
login_user(valid_client.user, valid_client.password)
end
require 'ostruct'
def valid_client
opts = {
:user => 'joe',
:password => 'hunter2'
}
return OpenStruct.new(opts)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment