Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 406 Bytes
shared_context "basic configuration" do
subject(:client) {
Desk::Client.new(
:subdomain => "example",
:consumer_key => 'CK',
:consumer_secret => 'CS',
:oauth_token => 'OT',
:oauth_token_secret => 'OS'
)
}
end
shared_context "plural endpoint" do
let(:endpoints) { Desk.plural(endpoint) }
let(:sub_endpoints) { Desk.plural(sub_endpoint) }
end