Permalink
Browse files

Added RSpec, proper versions of things in Gemfile.

  • Loading branch information...
1 parent 046dbd9 commit 21c9f666fe9293d588a23bc0120b278c62e06bd8 @mstahl mstahl committed Jul 28, 2012
Showing with 74 additions and 5 deletions.
  1. +1 −0 .rspec
  2. +6 −5 Gemfile
  3. +48 −0 Gemfile.lock
  4. +12 −0 spec/spec_helper.rb
  5. +7 −0 spec/synack_spec.rb
View
1 .rspec
@@ -0,0 +1 @@
+--color
View
11 Gemfile
@@ -6,9 +6,10 @@ source "http://rubygems.org"
# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
group :development do
- gem "shoulda", ">= 0"
- gem "rdoc", "~> 3.12"
- gem "bundler", "~> 1.0.0"
- gem "jeweler", "~> 1.8.3"
- gem "rcov", ">= 0"
+ gem "bundler"
+ gem "jeweler"
+ gem "rdoc"
+ gem "rspec"
+ gem "shoulda"
+ gem "simplecov"
end
View
@@ -0,0 +1,48 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ activesupport (3.2.7)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ diff-lcs (1.1.3)
+ git (1.2.5)
+ i18n (0.6.0)
+ jeweler (1.8.4)
+ bundler (~> 1.0)
+ git (>= 1.2.5)
+ rake
+ rdoc
+ json (1.7.4)
+ multi_json (1.3.6)
+ rake (0.9.2.2)
+ rdoc (3.12)
+ json (~> 1.4)
+ rspec (2.11.0)
+ rspec-core (~> 2.11.0)
+ rspec-expectations (~> 2.11.0)
+ rspec-mocks (~> 2.11.0)
+ rspec-core (2.11.1)
+ rspec-expectations (2.11.2)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.11.1)
+ shoulda (3.1.1)
+ shoulda-context (~> 1.0)
+ shoulda-matchers (~> 1.2)
+ shoulda-context (1.0.0)
+ shoulda-matchers (1.2.0)
+ activesupport (>= 3.0.0)
+ simplecov (0.6.4)
+ multi_json (~> 1.0)
+ simplecov-html (~> 0.5.3)
+ simplecov-html (0.5.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler
+ jeweler
+ rdoc
+ rspec
+ shoulda
+ simplecov
View
@@ -0,0 +1,12 @@
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+require 'rspec'
+require 'synack'
+
+# Requires supporting files with custom matchers and macros, etc,
+# in ./support/ and its subdirectories.
+Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
+
+RSpec.configure do |config|
+
+end
View
@@ -0,0 +1,7 @@
+require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
+
+describe "Synack" do
+ it "fails" do
+ fail "hey buddy, you should probably rename this file and start specing for real"
+ end
+end

0 comments on commit 21c9f66

Please sign in to comment.