Skip to content

Commit

Permalink
Add RSpec dependency and configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nbibler committed Mar 7, 2012
1 parent 58b9aa3 commit 81679d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .rspec
@@ -0,0 +1,2 @@
--color
--format progress
1 change: 1 addition & 0 deletions rack-canonical-host.gemspec
Expand Up @@ -8,4 +8,5 @@ Gem::Specification.new do |gem|
gem.files = Dir['LICENSE', 'README.rdoc', 'lib/**/*']

gem.add_dependency 'rack', '>= 1.0.0'
gem.add_development_dependency 'rspec', '~> 2.0'
end
11 changes: 11 additions & 0 deletions spec/spec_helper.rb
@@ -0,0 +1,11 @@
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper.rb"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
config.treat_symbols_as_metadata_keys_with_true_values = true
config.run_all_when_everything_filtered = true
config.filter_run :focus
end

0 comments on commit 81679d4

Please sign in to comment.