Permalink
Browse files

Set up rspec and Rakefile

  • Loading branch information...
1 parent 9eada07 commit 264059dca187dd994e7bdc86e0c8d4f7ab86fcc6 Gareth Rees committed Nov 28, 2011
Showing with 18 additions and 0 deletions.
  1. +1 −0 .rspec
  2. +4 −0 Rakefile
  3. +4 −0 ampersat.gemspec
  4. +9 −0 spec/ampersat_spec.rb
View
1 .rspec
@@ -0,0 +1 @@
+--color
View
@@ -1 +1,5 @@
require 'bundler/gem_tasks'
+
+task :test do
+ exec('rspec spec/.')
+end
View
@@ -17,4 +17,8 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
+
+ s.add_development_dependency 'rake'
+ s.add_development_dependency "rspec", "~> 2.7"
+
end
View
@@ -0,0 +1,9 @@
+# encoding: utf-8
+path = File.expand_path(File.dirname(__FILE__) + "/../lib/")
+$LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path)
+require "ampersat"
+
+
+describe Ampersat do
+
+end

0 comments on commit 264059d

Please sign in to comment.