Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/floere/spec_helper
No more require File.join( File.expand_path(File.dirname(__FILE__)), 'spec_helper' )
https://github.com/floere/spec_helper
Last synced: 25 days ago
JSON representation
No more require File.join( File.expand_path(File.dirname(__FILE__)), 'spec_helper' )
- Host: GitHub
- URL: https://github.com/floere/spec_helper
- Owner: floere
- Created: 2010-07-29T11:33:43.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-07-29T12:14:15.000Z (over 14 years ago)
- Last Synced: 2024-10-22T12:38:02.419Z (2 months ago)
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.textile
Awesome Lists containing this project
README
h1. Spec Helper Gem
IMPORTANT NOTE: This is not to be taken seriously! It is an idea I had after 63 beers and 400g of barely cooked meat.
h2. Motivation
Are you tired by having to do
@require File.join( File.expand_path(File.dirname(__FILE__)), 'spec_helper' )@
on top of each spec file to require the spec_helper?
h2. Usage
Gemfile:
@gem 'spec_helper'@
Spec file:
@require 'spec_helper'@
h2. Other note
Please hold the tomatoes. Thanks! ;)
If someone wants the Gem name for serious purposes, please contact me and I will give it to you.