diff --git a/.rspec b/.rspec new file mode 100644 index 0000000..4e1e0d2 --- /dev/null +++ b/.rspec @@ -0,0 +1 @@ +--color diff --git a/Gemfile b/Gemfile index 330b36a..1a10e57 100644 --- a/Gemfile +++ b/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 diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..c49acb4 --- /dev/null +++ b/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 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..d613502 --- /dev/null +++ b/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 diff --git a/spec/synack_spec.rb b/spec/synack_spec.rb new file mode 100644 index 0000000..fe82fb4 --- /dev/null +++ b/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