Skip to content

Instantly share code, notes, and snippets.

@yclian
Last active December 17, 2015 06:38
Show Gist options
  • Save yclian/5566642 to your computer and use it in GitHub Desktop.
Save yclian/5566642 to your computer and use it in GitHub Desktop.
This is a spec to hire for a Ruby/Rails developer to work on developing tools and extensions for Zendesk - one of the best helpdesk solutions available!
require 'spec_helper'
# == About
#
# This is a spec to hire for a Ruby/Rails developer to work on developing tools
# and extensions for Zendesk - one of the best helpdesk solutions available!
#
# == More About CustomWare
#
# CustomWare is a US based company with offices in Australia, Malaysia and
# United States. We help organizations of all sizes roll out innovative
# solutions using software from popular companies such as Atlassian, Box, Get
# Satisfaction, Kaazing, Phonegap, Okta and Zendesk.
#
# We have also recently won the Malaysia Employer of Choice and Innovation Awards.
#
# @see {https://gist.github.com/yclian/5566642 Link to Gist}
# @see {http://bit.ly/cw-rails-201305 Link to Google Docs}
# @see {http://jobvite.com/m?3DXcRfwn Link to Jobvite}
#
describe Developer, "hired to work at CustomWare" do
# @see {http://pragprog.com/the-pragmatic-programmer The Pragmatic Programmer}
subject { ability }
let(:ability) { Ability.new developer }
let(:developer) { FactoryGirl.create :agile_developer }
let(:user) { User.new }
let(:responsibility) { Responsibility.new }
let(:task) { Task.new }
let(:code_that_writes_code) { Code.new({ :dry => true, :write_code => true }) }
let(:commands) { Commands.new }
let(:software_that_is_imperfect) { Software.new({ :perfect => false }) }
let(:assumption) { Assumption.new }
let(:broken_window) { BrokenWindow.new }
it 'must be agile' do
assert developer.agile?
end
it { should be_able_to :work_with, user }
it { should be_able_to :think_like, user }
it { should be_able_to :take, responsibility }
it { should be_able_to :estimate, task }
it { should be_able_to :finish, task }
it { should be_able_to :use, commands }
it { should be_able_to :write, code_that_writes_code }
it { should be_able_to :write, software_that_is_imperfect }
it { should be_able_to :avoid, assumption }
it { should_not be_able_to :live_with, broken_window }
end
@yclian
Copy link
Author

yclian commented May 13, 2013

@aizatto Saw that coming. ;D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment