Permalink
Browse files

remove spec helper and require midiator in specs

  • Loading branch information...
1 parent dff9bb7 commit 581860719e54e93ac34cb1dd4be2960d8e6f44a3 @bleything committed Nov 13, 2010
Showing with 4 additions and 25 deletions.
  1. +1 −1 spec/driver_registry_spec.rb
  2. +1 −1 spec/driver_spec.rb
  3. +1 −1 spec/interface_spec.rb
  4. +0 −21 spec/lib/spec_helper.rb
  5. +1 −1 spec/string_extensions_spec.rb
@@ -13,7 +13,7 @@
# This code released under the terms of the MIT license.
#
-require File.join( File.dirname(__FILE__), 'lib', 'spec_helper.rb' )
+require 'midiator'
describe MIDIator::DriverRegistry do
before( :all ) do
View
@@ -13,7 +13,7 @@
# This code released under the terms of the MIT license.
#
-require File.join( File.dirname(__FILE__), 'lib', 'spec_helper.rb' )
+require 'midiator'
describe MIDIator::Driver do
it "automatically registers subclasses" do
@@ -17,7 +17,7 @@
# This code released under the terms of the MIT license.
#
-require File.join( File.dirname(__FILE__), 'lib', 'spec_helper.rb' )
+require 'midiator'
describe MIDIator::Interface do
before( :each ) do
@@ -1,21 +0,0 @@
-#!/usr/bin/env ruby
-#
-# Helpers etc for the spec suite.
-#
-# == Authors
-#
-# * Ben Bleything <ben@bleything.net>
-#
-# == Copyright
-#
-# Copyright (c) 2008 Ben Bleything
-#
-# This code released under the terms of the MIT license.
-#
-
-require 'rubygems'
-require 'spec'
-
-$: << File.expand_path( File.join( File.dirname(__FILE__), '..', '..', 'lib' ) )
-
-require 'midiator'
@@ -14,7 +14,7 @@
# This code released under the terms of the MIT license.
#
-require File.join( File.dirname(__FILE__), 'lib', 'spec_helper.rb' )
+require 'midiator'
describe "MIDIator's extensions to Ruby's String class" do
it "converts under_scored strings to CamelCase" do

0 comments on commit 5818607

Please sign in to comment.