Skip to content

Commit

Permalink
Added RSpec, proper versions of things in Gemfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
mstahl committed Jul 28, 2012
1 parent 046dbd9 commit 21c9f66
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 5 deletions.
1 change: 1 addition & 0 deletions .rspec
@@ -0,0 +1 @@
--color
11 changes: 6 additions & 5 deletions Gemfile
Expand Up @@ -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
48 changes: 48 additions & 0 deletions Gemfile.lock
@@ -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
12 changes: 12 additions & 0 deletions spec/spec_helper.rb
@@ -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
7 changes: 7 additions & 0 deletions spec/synack_spec.rb
@@ -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.