anodelman/beaker-bridge — pull request #1 by hunner (2013-08-15 17:47:54+00:00)
Title: Dev

Here's some playing that I did with rearranging stuff.

In rubygems, usually a gem name uses underscores (like `puppet_acceptance`) and hyphens in the name of gems that extend a gem (`puppet_acceptance-rspec`).

RSpec includes `spec/` by default, so there is usually a `spec/spec_helper.rb` file and specs usually contain `include 'spec_helper'` at the top. I also figured `spec/acceptance/` was a good place to put rspec acceptance tests.

RSpec test rb files should end with `_spec.rb` for automatic loading when `rspec` is run on a directory instead of specific files.

I'm not sure about the `.gemspec` file, but it gets bundler to load puppet_acceptance (with the addition of a `gem 'puppet_acceptance', :path => '~/..../puppet-acceptance' to the `Gemfile`)

Note: Now when running `bundle exec rspec spec/acceptance/` the paths in the puppet_acceptance "gem" are relative and don't allow it to run, but that's just some refactor work in p_a.