Sha256: d3b54ff388a07ce3812cb4f1b4ecd1a172d86c5986e84549eac8dcf85dc18e5a
Contents?: true
Size: 461 Bytes
Versions: 7
Compression:
Stored size: 461 Bytes
Contents
require 'spec_helper' describe Github::Response::Helpers do let(:env) { { :body => [1,2,3] } } let(:instance) { described_class.new } it 'includes result helper methods' do res = instance.on_complete(env) res[:body].class.included_modules.should include Github::Result end it 'should extend result with environemnt getter' do res = instance.on_complete(env) res[:body].should respond_to :env end end # Github::Response::Helpers
Version data entries
7 entries across 7 versions & 1 rubygems