Sha256: 7f4421a40cb495636866e4934d85b96669a91821ab006f172e04f56ffafbcac5

Contents?: true

Size: 498 Bytes

Versions: 52

Compression:

Stored size: 498 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' }

        before(:each) do
          github.login = nil
          github.password = nil
        end
      end
    end

  end
end # SpecHelpers

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

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
github_api-0.12.3 spec/support/base.rb
github_api-0.12.2 spec/support/base.rb
github_api-0.12.1 spec/support/base.rb
github_api-0.12.0 spec/support/base.rb
github_api-0.11.3 spec/support/base.rb
github_api-0.11.2 spec/support/base.rb
github_api-0.11.1 spec/support/base.rb
github_api-0.11.0 spec/support/base.rb
github_api-0.10.2 spec/support/base.rb
github_api-0.10.1 spec/support/base.rb
github_api-0.10.0 spec/support/base.rb
github_api-0.9.7 spec/support/base.rb
github_api-0.9.6 spec/support/base.rb
github_api-0.9.5 spec/support/base.rb
github_api-0.9.4 spec/support/base.rb
github_api-0.9.3 spec/support/base.rb
github_api-0.9.2 spec/support/base.rb
github_api-0.9.1 spec/support/base.rb
github_api-0.9.0 spec/support/base.rb
github_api-0.8.11 spec/support/base.rb