Sha256: e9a938936ed1e705d771f67ca413a0a67a7704a84b6be680dda338de5203a473

Contents?: true

Size: 394 Bytes

Versions: 7

Compression:

Stored size: 394 Bytes

Contents

module SpecHelpers
  module Base

    def self.included(base)
      base.class_eval do
        let(:github) { Github.new }
        let(:user)   { 'peter-murach' }
        let(:repo)   { 'github' }
        let(:org)   { 'github' }
        let(:collaborator) { 'octocat' }
      end
    end

  end
end # SpecHelpers

RSpec.configure do |conf|
  conf.include SpecHelpers::Base, :type => :base
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
github_api-0.4.5 spec/support/base.rb
github_api-0.4.4 spec/support/base.rb
github_api-0.4.3 spec/support/base.rb
github_api-0.4.2 spec/support/base.rb
github_api-0.4.1 spec/support/base.rb
github_api-0.4.0 spec/support/base.rb
github_api-0.3.9 spec/support/base.rb