Permalink
Browse files

Initial RSpec setup.

  • Loading branch information...
1 parent ca7aec7 commit a8665a62c248a0e611dd292034e5fbb5b2ad31e7 @fredjean fredjean committed Jun 21, 2012
Showing with 19 additions and 0 deletions.
  1. +2 −0 .rspec
  2. +6 −0 Rakefile
  3. +11 −0 spec/spec_helper.rb
View
2 .rspec
@@ -0,0 +1,2 @@
+--color
+--format progress
View
@@ -1,2 +1,8 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new('spec')
+
+task :default => :spec
+
View
@@ -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 a8665a6

Please sign in to comment.