Skip to content
Browse files

Add rspec

  • Loading branch information...
1 parent f11f26a commit f200cd3fe012086591345e0cfc5769802a01d99c @calebthompson committed Jul 3, 2012
Showing with 14 additions and 1 deletion.
  1. +2 −0 .rspec
  2. +1 −1 demesne.gemspec
  3. +11 −0 spec/spec_helper.rb
View
2 .rspec
@@ -0,0 +1,2 @@
+--color
+--format documentation
View
2 demesne.gemspec
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
# specify any dependencies here; for example:
- # s.add_development_dependency "rspec"
+ s.add_development_dependency "rspec"
# s.add_runtime_dependency "rest-client"
end
View
11 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 f200cd3

Please sign in to comment.
Something went wrong with that request. Please try again.