Permalink
Browse files

Fixing rspec patterns to not try and load spec/fixtures

  • Loading branch information...
1 parent 17b10d8 commit 2d8eaeddbfd768614859c1d5cb7dd5beabe96b8e @kennethkalmer committed Sep 17, 2013
Showing with 5 additions and 2 deletions.
  1. +2 −0 .rspec
  2. +0 −1 spec/spec.opts
  3. +2 −0 spec/spec_helper.rb
  4. +1 −1 tasks/rspec.rake
View
@@ -0,0 +1,2 @@
+--colour
+--pattern "spec/*_spec.rb"
View
@@ -1 +0,0 @@
---colour
View
@@ -19,6 +19,8 @@
# in spec/support/ and its subdirectories.
Dir[ File.expand_path("../support/**/*.rb", __FILE__) ].each { |f| require f }
+require 'rake/file_list'
+
RSpec.configure do |config|
# == Mock Framework
#
View
@@ -3,5 +3,5 @@ require 'rspec/core/rake_task'
desc "Run the specs under spec/"
RSpec::Core::RakeTask.new do |t|
- t.rspec_opts = ['--options', "spec/spec.opts"]
+ t.pattern = "spec/*_spec.rb"
end

0 comments on commit 2d8eaed

Please sign in to comment.